SVN: toys/stbr/src-builder-status.py

shadzik shadzik at pld-linux.org
Sat Nov 29 00:07:58 CET 2008


Author: shadzik
Date: Sat Nov 29 00:07:57 2008
New Revision: 10011

Modified:
   toys/stbr/src-builder-status.py
Log:
- usage


Modified: toys/stbr/src-builder-status.py
==============================================================================
--- toys/stbr/src-builder-status.py	(original)
+++ toys/stbr/src-builder-status.py	Sat Nov 29 00:07:57 2008
@@ -18,6 +18,7 @@
 		pld = sys.argv[1]
 		spec = sys.argv[2]
 	except(IndexError):
+		print "Usage: %s th|ti spec" %  sys.argv[0]
 		return
 	f = open(mailbox, 'r')
 	read = f.xreadlines()
@@ -34,6 +35,6 @@
 	for i in range(len(status_l)):
 		srcbuilder = pld + "-src"
 		if re.match(srcbuilder, builder_l[i]):
-			print "%s" % (status_l[i])
+			print status_l[i]
 
 parseMailbox()


More information about the pld-cvs-commit mailing list