mirror of
https://github.com/dimitri/pgloader.git
synced 2025-08-09 07:47:00 +02:00
better import placement
This commit is contained in:
parent
d07bddc153
commit
a206b18f8b
@ -5,7 +5,7 @@
|
||||
PostgreSQL data import tool, see included man page.
|
||||
"""
|
||||
|
||||
import os, sys, os.path, time, codecs, logging, threading
|
||||
import os, sys, os.path, time, codecs, logging, threading, signal
|
||||
from cStringIO import StringIO
|
||||
|
||||
import pgloader.options
|
||||
@ -764,7 +764,6 @@ def load_data():
|
||||
|
||||
if __name__ == "__main__":
|
||||
# Disable KeyboardInterrupt, just exit on CTRL+C
|
||||
import signal, os
|
||||
signal.signal(signal.SIGINT, signal.SIG_DFL)
|
||||
try:
|
||||
ret = load_data()
|
||||
|
Loading…
Reference in New Issue
Block a user