diff --git a/couchpotato/environment.py b/couchpotato/environment.py index e42cbadb..bc5cd8d7 100644 --- a/couchpotato/environment.py +++ b/couchpotato/environment.py @@ -12,7 +12,6 @@ class Env(object): ''' Environment variables ''' _encoding = '' - _uses_git = False _debug = False _dev = False _settings = Settings() diff --git a/couchpotato/runner.py b/couchpotato/runner.py index e8f2fb0d..3ef8ae99 100644 --- a/couchpotato/runner.py +++ b/couchpotato/runner.py @@ -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'))