From 1b5131fe3c7c6e1df0df7fedfc8daa0b19ee38db Mon Sep 17 00:00:00 2001
From: ale <ale@incal.net>
Date: Sun, 30 Oct 2011 22:14:10 +0000
Subject: [PATCH] add an option to skip the version check

---
 client/djrandom_client/client.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/client/djrandom_client/client.py b/client/djrandom_client/client.py
index 3c2fd57..0ad3588 100644
--- a/client/djrandom_client/client.py
+++ b/client/djrandom_client/client.py
@@ -133,6 +133,7 @@ def main():
                       'unlimited)')
     parser.add_option('--no_realtime_watch', action='store_true',
                       help='Monitor music_dir in realtime')
+    parser.add_option('--skip_version_check', action='store_true')
     daemonize.add_standard_options(parser)
     utils.read_config_defaults(
         parser, os.path.expanduser('~/.djrandom.conf'))
@@ -147,7 +148,7 @@ def main():
         parser.error('Too many arguments')
 
     # Perform a version check.
-    if utils.check_version():
+    if not opts.skip_version_check and utils.check_version():
         print >>sys.stderr, 'A new release is available! Please update.'
 
     # Reading from the configuration file will set this variable to
-- 
GitLab