extras-buildsys-temp/automation extras-push.py,1.1,1.2

Seth Vidal (skvidal) fedora-extras-commits at redhat.com
Mon May 9 09:02:45 UTC 2005


Author: skvidal

Update of /cvs/fedora/extras-buildsys-temp/automation
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17526

Modified Files:
	extras-push.py 
Log Message:

simple usage statement



Index: extras-push.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys-temp/automation/extras-push.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- extras-push.py	9 May 2005 09:01:28 -0000	1.1
+++ extras-push.py	9 May 2005 09:02:43 -0000	1.2
@@ -259,6 +259,9 @@
     
 if __name__ == '__main__':
     me = os.getcwd()
+    if len(sys.argv) < 1:
+        print "Usage:\nextras-push.py release\n\n"
+        sys.exit(1)
     main(sys.argv[1])
     os.chdir(me)
     




More information about the fedora-extras-commits mailing list