pygobject r1015 - branches/pygobject-2-16



Author: gianmt
Date: Fri Feb 20 21:28:22 2009
New Revision: 1015
URL: http://svn.gnome.org/viewvc/pygobject?rev=1015&view=rev

Log:
remove inconsistent use of tabs and spaces in pygtk.py, fix #569350

Modified:
   branches/pygobject-2-16/ChangeLog
   branches/pygobject-2-16/pygtk.py

Modified: branches/pygobject-2-16/pygtk.py
==============================================================================
--- branches/pygobject-2-16/pygtk.py	(original)
+++ branches/pygobject-2-16/pygtk.py	Fri Feb 20 21:28:22 2009
@@ -38,7 +38,7 @@
     versions = {}
     for dir in sys.path:
         if not dir: 
-  	    dir = os.getcwd()
+            dir = os.getcwd()
             
         if not os.path.isdir(dir):
             continue
@@ -58,8 +58,8 @@
             if not os.listdir(pathname):
                 continue
             
-	    if not versions.has_key(filename[-3:]):
-            	versions[filename[-3:]] = pathname
+            if not versions.has_key(filename[-3:]):
+                versions[filename[-3:]] = pathname
     return versions
 
 def require20():



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]