extras-buildsys/utils extras-push-new,1.3,1.4

Michael Schwendt (mschwendt) fedora-extras-commits at redhat.com
Sat May 6 23:38:33 UTC 2006


Author: mschwendt

Update of /cvs/fedora/extras-buildsys/utils
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10552

Modified Files:
	extras-push-new 
Log Message:
remove tiny bit of superfluous code


Index: extras-push-new
===================================================================
RCS file: /cvs/fedora/extras-buildsys/utils/extras-push-new,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- extras-push-new	6 May 2006 19:48:09 -0000	1.3
+++ extras-push-new	6 May 2006 23:38:31 -0000	1.4
@@ -427,7 +427,6 @@
         sys.exit(22)
     
     dists = []  # the list of distribution release we want to push
-    distdict = {}
     for d in sys.argv[1:]:
         if d == 'all':
             dists = alldists
@@ -435,9 +434,8 @@
         if d not in alldists:
             print "ERROR: No Distribution named '%s' found" % d
             sys.exit(1)
-        if not distdict.has_key(d):
+        if d not in dists:
             dists.append(d)
-        distdict[d] = True
     debugprint(dists)
 
     # If we are called as 'extras-sign-move.py' we simulate old




More information about the scm-commits mailing list