Skip to content

Commit 1ccbc24

Browse files
forgotten cleanup
1 parent d8cb0cd commit 1ccbc24

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

mongodb_consistent_backup/Backup/Mongodump/MongodumpThread.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
from shutil import rmtree
88
from signal import signal, SIGINT, SIGTERM, SIG_IGN
99
from subprocess import Popen, PIPE
10-
from time import sleep
1110

1211
from mongodb_consistent_backup.Common import is_datetime
1312
from mongodb_consistent_backup.Oplog import Oplog
@@ -135,11 +134,6 @@ def run(self):
135134
os.makedirs(self.dump_dir)
136135
logging.debug("Running mongodump cmd: %s" % mongodump_cmd)
137136
self._process = Popen(mongodump_cmd, stdin=PIPE, stderr=PIPE)
138-
#if self.do_stdin_passwd:
139-
# sleep(5)
140-
# logging.debug("Writing password to stdin")
141-
# self._process.stdin.write(self.password)
142-
# self._process.stdin.flush()
143137
self.wait()
144138
self.exit_code = self._process.returncode
145139
if self.exit_code > 0:

0 commit comments

Comments
 (0)