From 568d49bac776576293cbc1c5e375a3143ffc289b Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 15 Jan 2015 15:41:19 +0530 Subject: [PATCH] Change paths for testing of Changelog --- setup/check.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/setup/check.py b/setup/check.py index 1c7c0d9a2c..ae0056d0a0 100644 --- a/setup/check.py +++ b/setup/check.py @@ -78,13 +78,12 @@ class Check(Command): raise SystemExit(1) cache[f] = mtime cPickle.dump(cache, open(self.CACHE, 'wb'), -1) - wn_path = os.path.expanduser('~/work/servers/src/calibre_servers/main') + wn_path = os.path.expanduser('~/work/srv/main/static') if os.path.exists(wn_path): - sys.path.insert(0, self.d(self.d(wn_path))), sys.path.insert(0, wn_path) + sys.path.insert(0, wn_path) self.info('\tChecking Changelog...') - os.environ['DJANGO_SETTINGS_MODULE'] = 'calibre_servers.status.settings' import whats_new - whats_new.test() + whats_new.render_changelog(self.j(self.d(self.SRC), 'Changelog.yaml')) sys.path.remove(wn_path) def report_errors(self, errors):