Updated code quality removed print statement spaces in singleinstance.py #1833

Merged
kdcis merged 4 commits from v0.6-codequality-singleinstance into v0.6 2021-10-01 14:03:06 +02:00
kdcis commented 2021-08-26 18:04:10 +02:00 (Migrated from github.com)

Removed print statement spaces

Removed print statement spaces
PeterSurda (Migrated from github.com) approved these changes 2021-08-27 09:03:12 +02:00
g1itch (Migrated from github.com) reviewed 2021-08-31 16:41:43 +02:00
@ -75,8 +72,9 @@ class singleinstance(object):
fcntl.lockf(self.fp, fcntl.LOCK_EX | fcntl.LOCK_NB)
self.lockPid = os.getpid()
except IOError:
g1itch (Migrated from github.com) commented 2021-08-31 16:41:43 +02:00

sys.exit('Another instance of this application is already running')

`sys.exit('Another instance of this application is already running')`
g1itch commented 2021-08-31 16:42:57 +02:00 (Migrated from github.com)

What about #1373?

What about #1373?
g1itch (Migrated from github.com) reviewed 2021-08-31 16:46:34 +02:00
@ -75,8 +72,9 @@ class singleinstance(object):
fcntl.lockf(self.fp, fcntl.LOCK_EX | fcntl.LOCK_NB)
self.lockPid = os.getpid()
except IOError:
g1itch (Migrated from github.com) commented 2021-08-31 16:46:34 +02:00

And the same above. print(e.errno) is also redundant as for me.

And the same above. `print(e.errno)` is also redundant as for me.
kdcis (Migrated from github.com) reviewed 2021-09-02 13:46:11 +02:00
@ -75,8 +72,9 @@ class singleinstance(object):
fcntl.lockf(self.fp, fcntl.LOCK_EX | fcntl.LOCK_NB)
self.lockPid = os.getpid()
except IOError:
kdcis (Migrated from github.com) commented 2021-09-02 13:46:11 +02:00

Updated

Updated
g1itch (Migrated from github.com) reviewed 2021-09-02 14:56:10 +02:00
g1itch (Migrated from github.com) commented 2021-09-02 14:56:10 +02:00

PEP8 violation here: line too long

PEP8 violation here: line too long
g1itch (Migrated from github.com) reviewed 2021-09-02 14:56:48 +02:00
g1itch (Migrated from github.com) commented 2021-09-02 14:56:48 +02:00

line too long

line too long
kdcis (Migrated from github.com) reviewed 2021-09-06 17:53:05 +02:00
kdcis (Migrated from github.com) commented 2021-09-06 17:53:05 +02:00

Updated

Updated
kdcis (Migrated from github.com) reviewed 2021-09-06 17:53:13 +02:00
kdcis (Migrated from github.com) commented 2021-09-06 17:53:13 +02:00

Updated

Updated
PeterSurda (Migrated from github.com) requested changes 2021-09-07 10:24:12 +02:00
PeterSurda (Migrated from github.com) commented 2021-09-07 10:24:02 +02:00

just remove

just remove
kdcis (Migrated from github.com) reviewed 2021-09-07 18:32:21 +02:00
kdcis (Migrated from github.com) commented 2021-09-07 18:32:21 +02:00

updated

updated
PeterSurda (Migrated from github.com) approved these changes 2021-09-08 10:18:36 +02:00
PeterSurda (Migrated from github.com) approved these changes 2021-10-01 14:02:32 +02:00
This repo is archived. You cannot comment on pull requests.
No description provided.