fix stupid code with lot of debug
This commit is contained in:
parent
72fcfcb323
commit
e00ce8a09b
|
@ -1165,16 +1165,13 @@ class Roster_window:
|
||||||
|
|
||||||
def init_transports_pixbufs(self, arg, dirname, fnames):
|
def init_transports_pixbufs(self, arg, dirname, fnames):
|
||||||
name_only = os.path.basename(dirname)
|
name_only = os.path.basename(dirname)
|
||||||
print name_only
|
if name_only == 'transports' or name_only == '.svn':
|
||||||
print name_only != 'transports'
|
return
|
||||||
if name_only != 'transports' or not name_only.startswith('.svn'):
|
for fname in fnames:
|
||||||
for fname in fnames: # fname is not abs
|
|
||||||
print 'fname', fname, 'in dir', dirname
|
|
||||||
transport_kind = name_only
|
transport_kind = name_only
|
||||||
return
|
return
|
||||||
self.transports_pixbufs[transport_kind][fname] = 'be'
|
self.transports_pixbufs[transport_kind][fname] = 'be'
|
||||||
|
|
||||||
|
|
||||||
def reload_pixbufs(self):
|
def reload_pixbufs(self):
|
||||||
self.mkpixbufs()
|
self.mkpixbufs()
|
||||||
# Update the roster
|
# Update the roster
|
||||||
|
|
Loading…
Reference in New Issue