- Timestamp:
- Apr 7, 2012, 9:55:14 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/gformat.py
r10319 r10364 106 106 proxylist = sorted([os.path.basename(x) for x in glob.glob("%s/proxy*" % NODE_DIR)], 107 107 key=lambda name: int(''.join([c for c in name if c in string.digits])), 108 cmp=lambda x,y: x - y) 108 cmp=lambda x,y: x - y) + sorted([os.path.basename(x) for x in glob.glob("%s/Proxy*" % NODE_DIR)]) 109 109 return proxylist 110 110 … … 966 966 return False 967 967 968 self.cgi_info = ( __file__, self.path)968 self.cgi_info = (os.path.basename(__file__), self.path) 969 969 self.path = '' 970 970 return True
Note:
See TracChangeset
for help on using the changeset viewer.