Changeset b9ff47e
- Timestamp:
- 02/05/2011 01:12:48 AM (14 years ago)
- Branches:
- 2.0.x, develop, extjs4-port, master
- Children:
- cea6c8
- Parents:
- 14746b
- git-author:
- Calum Lind <calumlind+deluge@gmail.com> (01/29/2011 07:07:46 AM)
- git-committer:
- Calum Lind <calumlind+deluge@gmail.com> (02/05/2011 01:12:48 AM)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
deluge/ui/console/commands/config.py
r14746b rb9ff47e 63 63 elif token[0] is tokenize.NUMBER or token[1] == "-": 64 64 try: 65 return int(token[-1], 0) 65 if token[1] == "-": 66 return int(token[-1], 0) 67 else: 68 return int(token[1], 0) 66 69 except ValueError: 67 70 return float(token[-1])
Note:
See TracChangeset
for help on using the changeset viewer.