Remove commented out code and unused pprint import.
parent
60a216a604
commit
6f9c4c7423
|
@ -79,7 +79,6 @@ except ImportError:
|
||||||
from cStringIO import StringIO
|
from cStringIO import StringIO
|
||||||
|
|
||||||
from codecs import open as open
|
from codecs import open as open
|
||||||
from pprint import pprint
|
|
||||||
from psutil import process_iter
|
from psutil import process_iter
|
||||||
from subprocess import Popen
|
from subprocess import Popen
|
||||||
from subprocess import PIPE
|
from subprocess import PIPE
|
||||||
|
@ -843,8 +842,6 @@ use_agent: %s
|
||||||
log.info('Importing: %r', key_data[:256])
|
log.info('Importing: %r', key_data[:256])
|
||||||
data = _make_binary_stream(key_data, self.encoding)
|
data = _make_binary_stream(key_data, self.encoding)
|
||||||
self._handle_io(['--import'], data, result, binary=True)
|
self._handle_io(['--import'], data, result, binary=True)
|
||||||
#pretty = pprint(result.__dict__, indent=4, width=76, depth=8)
|
|
||||||
#log.debug("Import result:%s%s" % (os.linesep, pretty))
|
|
||||||
data.close()
|
data.close()
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue