fix stupid code with lot of debug

This commit is contained in:
Vincent Hanquez 2005-04-21 23:06:12 +00:00
parent 72fcfcb323
commit e00ce8a09b
1 changed files with 6 additions and 9 deletions

View File

@ -1165,15 +1165,12 @@ class Roster_window:
def init_transports_pixbufs(self, arg, dirname, fnames):
name_only = os.path.basename(dirname)
print name_only
print name_only != 'transports'
if name_only != 'transports' or not name_only.startswith('.svn'):
for fname in fnames: # fname is not abs
print 'fname', fname, 'in dir', dirname
transport_kind = name_only
return
self.transports_pixbufs[transport_kind][fname] = 'be'
if name_only == 'transports' or name_only == '.svn':
return
for fname in fnames:
transport_kind = name_only
return
self.transports_pixbufs[transport_kind][fname] = 'be'
def reload_pixbufs(self):
self.mkpixbufs()