From 4711d2be9c2e7214bc4017402a7d5335bc51d2b6 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sat, 2 Mar 2013 03:08:59 +0000 Subject: [PATCH] only print reload message if something changed --- update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update.py b/update.py index c6af5654..193dbb2a 100755 --- a/update.py +++ b/update.py @@ -78,5 +78,5 @@ if __name__ == "__main__": diff = get('./manage.py', 'sqldiff', '-a').strip() if diff != '-- No differences': print 'Database has changed, please make a backup and run ./update.py database' - else: + elif current != new: reload_notice(base)