diff options
Diffstat (limited to 'BitTorrent/parseargs.py')
-rw-r--r-- | BitTorrent/parseargs.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/BitTorrent/parseargs.py b/BitTorrent/parseargs.py index 5289aff..bd38558 100644 --- a/BitTorrent/parseargs.py +++ b/BitTorrent/parseargs.py @@ -17,7 +17,6 @@ from BitTorrent.defaultargs import MyBool, MYTRUE from BitTorrent import BTFailure from BitTorrent.bencode import bdecode from BitTorrent.platform import is_frozen_exe -from BitTorrent.RawServer_magic import switch_rawserver def makeHelp(uiname, defaults): ret = '' @@ -146,12 +145,6 @@ def parseargs(argv, options, minargs=None, maxargs=None, presets=None): if maxargs is not None and len(args) > maxargs: usage(_("Too many arguments - %d maximum.") % maxargs) - if config.has_key('twisted'): - if config['twisted'] == 0: - switch_rawserver('untwisted') - elif config['twisted'] == 1: - switch_rawserver('twisted') - return (config, args) def parse_options(defaults, newvalues): |