Changeset 2315
- Timestamp:
- 11/25/07 12:16:29 (14 months ago)
- Files:
-
- 4 modified
-
tags/deluge-0.5.6.96/scripts/deluge (modified) (1 diff)
-
tags/deluge-0.5.6.96/src/common.py (modified) (1 diff)
-
trunk/scripts/deluge (modified) (1 diff)
-
trunk/src/common.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tags/deluge-0.5.6.96/scripts/deluge
r2304 r2315 54 54 if (options.config != None): 55 55 deluge.common.CONFIG_DIR = options.config 56 57 if hasattr(sys, "frozen"): 58 sys.stdout = open(os.path.join(deluge.common.CONFIG_DIR,"deluge.stdout.log"), "w") 59 sys.stderr = open(os.path.join(deluge.common.CONFIG_DIR,"deluge.stderr.log"), "w") 56 60 57 61 def upgrade_old_persistent_state(): -
tags/deluge-0.5.6.96/src/common.py
r2312 r2315 49 49 INSTALL_PREFIX = '' 50 50 os.chdir(os.path.dirname(unicode(sys.executable, sys.getfilesystemencoding( )))) 51 sys.stdout = open("deluge.stdout.log", "w")52 sys.stderr = open("deluge.stderr.log", "w")53 51 else: 54 52 # the necessary substitutions are made at installation time -
trunk/scripts/deluge
r2279 r2315 54 54 if (options.config != None): 55 55 deluge.common.CONFIG_DIR = options.config 56 57 if hasattr(sys, "frozen"): 58 sys.stdout = open(os.path.join(deluge.common.CONFIG_DIR,"deluge.stdout.log"), "w") 59 sys.stderr = open(os.path.join(deluge.common.CONFIG_DIR,"deluge.stderr.log"), "w") 56 60 57 61 def upgrade_old_persistent_state(): -
trunk/src/common.py
r2303 r2315 49 49 INSTALL_PREFIX = '' 50 50 os.chdir(os.path.dirname(unicode(sys.executable, sys.getfilesystemencoding( )))) 51 sys.stdout = open("deluge.stdout.log", "w")52 sys.stderr = open("deluge.stderr.log", "w")53 51 else: 54 52 # the necessary substitutions are made at installation time
