[yum-cvs] yum/bin yum-updatesd.py,1.1,1.2 yum.py,1.7,1.8

James Bowes jbowes at linux.duke.edu
Tue Dec 5 00:40:53 UTC 2006


Update of /home/groups/yum/cvs/yum/bin
In directory login1.linux.duke.edu:/tmp/cvs-serv662/bin

Modified Files:
	yum-updatesd.py yum.py 
Log Message:
pychecker related fixes, including unused imports, and removal of use of deprecated methods from the string module

Index: yum-updatesd.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/bin/yum-updatesd.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- yum-updatesd.py	27 Jun 2006 20:53:30 -0000	1.1
+++ yum-updatesd.py	5 Dec 2006 00:40:51 -0000	1.2
@@ -1,9 +1,9 @@
 #!/usr/bin/python
 import sys
 try:
-   import yum
+    import yum
 except ImportError:
-   print >> sys.stderr, """\
+    print >> sys.stderr, """\
 There was a problem importing one of the Python modules
 required to run yum. The error leading to this problem was:
 
@@ -21,7 +21,7 @@
   http://wiki.linux.duke.edu/YumFaq
   
 """ % (sys.exc_value, sys.version)
-   sys.exit(1)
+    sys.exit(1)
 
 sys.path.insert(0, '/usr/share/yum-cli')
 try:

Index: yum.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/bin/yum.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- yum.py	2 Nov 2005 22:22:45 -0000	1.7
+++ yum.py	5 Dec 2006 00:40:51 -0000	1.8
@@ -1,9 +1,9 @@
 #!/usr/bin/python
 import sys
 try:
-   import yum
+    import yum
 except ImportError:
-   print >> sys.stderr, """\
+    print >> sys.stderr, """\
 There was a problem importing one of the Python modules
 required to run yum. The error leading to this problem was:
 
@@ -21,7 +21,7 @@
   http://wiki.linux.duke.edu/YumFaq
   
 """ % (sys.exc_value, sys.version)
-   sys.exit(1)
+    sys.exit(1)
 
 sys.path.insert(0, '/usr/share/yum-cli')
 try:




More information about the Yum-cvs-commits mailing list