Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: quibble/backend.py
- IDEA additional info:
- Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
- <+>UTF-8
- ===================================================================
- --- quibble/backend.py (date 1533221393000)
- +++ quibble/backend.py (date 1533221393000)
- @@ -223,6 +223,18 @@
- return self.socket
- def __del__(self):
- + mysqldump = open("/tmp/dumpy2.sql","wb")
- + subprocess.Popen([
- + 'mysqldump',
- + '--socket=%s' % self.socket,
- + '--user=root',
- + '--all-databases'
- + ],
- + universal_newlines=True,
- + stdin=subprocess.PIPE,
- + stdout=mysqldump,
- + stderr=mysqldump,
- + ).wait()
- self.stop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement