Remove unnecessary "= None"s
This commit is contained in:
parent
6a81710c71
commit
05b4070df9
@ -49,10 +49,6 @@ class ExternalEditor(QObject):
|
|||||||
# NOTE: Do not replace this with "raise CommandError" as it's
|
# NOTE: Do not replace this with "raise CommandError" as it's
|
||||||
# executed async.
|
# executed async.
|
||||||
message.error("Failed to delete tempfile...")
|
message.error("Failed to delete tempfile...")
|
||||||
self.text = None
|
|
||||||
self.oshandle = None
|
|
||||||
self.filename = None
|
|
||||||
self.proc = None
|
|
||||||
|
|
||||||
def on_proc_closed(self, exitcode, exitstatus):
|
def on_proc_closed(self, exitcode, exitstatus):
|
||||||
"""Write the editor text into the form field and clean up tempfile.
|
"""Write the editor text into the form field and clean up tempfile.
|
||||||
|
Loading…
Reference in New Issue
Block a user