mailr18793 - /trunk/info.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on March 12, 2013 - 12:16:
Author: bugman
Date: Tue Mar 12 12:16:12 2013
New Revision: 18793

URL: http://svn.gna.org/viewcvs/relax?rev=18793&view=rev
Log:
Bug fix for the info relax system information module for when spaces are 
present in the relax path.

If relax is placed into a directory containing spaces, then the determination 
of the architecture of
the compiled C modules fails. 


Modified:
    trunk/info.py

Modified: trunk/info.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/info.py?rev=18793&r1=18792&r2=18793&view=diff
==============================================================================
--- trunk/info.py (original)
+++ trunk/info.py Tue Mar 12 12:16:12 2013
@@ -169,7 +169,7 @@
             return ''
 
         # The command.
-        cmd = 'file -b %s' % path
+        cmd = "file -b '%s'" % path
 
         # Execute.
         pipe = Popen(cmd, shell=True, stdout=PIPE, close_fds=False)




Related Messages


Powered by MHonArc, Updated Tue Mar 12 14:20:02 2013