incubator-tashi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mry...@apache.org
Subject svn commit: r769422 - /incubator/tashi/trunk/src/tashi/client/tashi-client.py
Date Tue, 28 Apr 2009 14:34:06 GMT
Author: mryan3
Date: Tue Apr 28 14:34:06 2009
New Revision: 769422

URL: http://svn.apache.org/viewvc?rev=769422&view=rev
Log:
Minor fix to add a call to basename


Modified:
    incubator/tashi/trunk/src/tashi/client/tashi-client.py

Modified: incubator/tashi/trunk/src/tashi/client/tashi-client.py
URL: http://svn.apache.org/viewvc/incubator/tashi/trunk/src/tashi/client/tashi-client.py?rev=769422&r1=769421&r2=769422&view=diff
==============================================================================
--- incubator/tashi/trunk/src/tashi/client/tashi-client.py (original)
+++ incubator/tashi/trunk/src/tashi/client/tashi-client.py Tue Apr 28 14:34:06 2009
@@ -17,7 +17,7 @@
 # specific language governing permissions and limitations
 # under the License.    
 
-import os
+import os.path
 import random
 import sys
 import types
@@ -273,7 +273,7 @@
 			print "Unknown function %s" % (func)
 			print
 		functions = argLists
-		print "%s is the client program for Tashi, a system for cloud-computing on BigData." %
(sys.argv[0])
+		print "%s is the client program for Tashi, a system for cloud-computing on BigData." %
(os.path.basename(sys.argv[0]))
 		print "Visit http://incubator.apache.org/tashi/ for more information."
 		print
 	else:



Mime
View raw message