diff --git a/twander.py b/twander.py index d4ad46a..d84187d 100755 --- a/twander.py +++ b/twander.py @@ -6,7 +6,7 @@ # Program Information PROGNAME = "twander" -RCSID = "$Id: twander.py,v 2.74 2003/01/19 17:40:27 tundra Exp $" +RCSID = "$Id: twander.py,v 2.75 2003/01/20 07:44:28 tundra Exp $" VERSION = RCSID.split()[2] # Copyright Information @@ -2029,8 +2029,6 @@ # haven't screwed up the widget's current # contents or program state. - contents = BuildDirList(newdir) - try: contents = BuildDirList(newdir) except: @@ -2118,7 +2116,7 @@ def BuildDirList(currentdir): global UI - + dList, fList = [], [] # Two possible cases have to be handled: @@ -2306,8 +2304,8 @@ sidg = hg.GetSecurityDescriptorGroup() owner = LookupAccountSid(WIN32HOST, sido)[0] group = LookupAccountSid(WIN32HOST, sidg)[0] - owner = owner[:ST_SZUNAME-1] - group = group[:ST_SZGNAME-1] + owner = str(owner[:ST_SZUNAME-1]) + group = str(group[:ST_SZGNAME-1]) except: owner = 'Unavailable' group = 'Unavailable'