File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed
query_inspector/management/commands Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 33 History
44=======
55
6+ v1.2.1
7+ ------
8+ * comment out "signal" from sitecopy management command
9+
610v1.2.0
711------
812* sitecopy refactored to support sitesync
Original file line number Diff line number Diff line change 1- import signal
1+ # import signal
22import datetime
33import time
44import traceback
@@ -17,8 +17,8 @@ def fail(*messages):
1717 exit (- 1 )
1818
1919
20- def signal_handler (signal , frame ):
21- sys .exit (0 )
20+ # def signal_handler(signal, frame):
21+ # sys.exit(0)
2222
2323
2424def get_remote_project_instance ():
@@ -66,9 +66,9 @@ def get_remote_media_folder():
6666
6767class Command (BaseCommand ):
6868
69- def __init__ (self , * args , ** kwargs ):
70- super ().__init__ (* args , ** kwargs )
71- signal .signal (signal .SIGINT , signal_handler )
69+ # def __init__(self, *args, **kwargs):
70+ # super().__init__(*args, **kwargs)
71+ # signal.signal(signal.SIGINT, signal_handler)
7272
7373 help = 'Syncs database and media files from remote project "{project}" running on remote server "{remote_server}"' .format (
7474 project = get_remote_project_instance (),
You can’t perform that action at this time.
0 commit comments