Unused var

This commit is contained in:
Ruud
2012-05-11 14:29:09 +02:00
parent 74578db933
commit 63141b5971
2 changed files with 0 additions and 4 deletions
-1
View File
@@ -12,7 +12,6 @@ class Env(object):
''' Environment variables '''
_encoding = ''
_uses_git = False
_debug = False
_dev = False
_settings = Settings()
-3
View File
@@ -28,8 +28,6 @@ def getOptions(base_path, args):
dest = 'console_log', help = "Log to console")
parser.add_argument('--quiet', action = 'store_true',
dest = 'quiet', help = 'No console logging')
parser.add_argument('--nogit', action = 'store_true',
dest = 'nogit', help = 'No git available')
parser.add_argument('--daemon', action = 'store_true',
dest = 'daemon', help = 'Daemonize the app')
parser.add_argument('--pid_file', default = os.path.join(data_dir, 'couchpotato.pid'),
@@ -93,7 +91,6 @@ def runCouchPotato(options, base_path, args, data_dir = None, log_dir = None, En
# Register environment settings
Env.set('encoding', encoding)
Env.set('uses_git', not options.nogit)
Env.set('app_dir', base_path)
Env.set('data_dir', data_dir)
Env.set('log_path', os.path.join(log_dir, 'CouchPotato.log'))