From 35347294212b9294ae8b0ba594264b888835e581 Mon Sep 17 00:00:00 2001 From: "kuldeep.k@cisinlabs.com" Date: Thu, 26 Aug 2021 21:00:05 +0530 Subject: [PATCH] Updated code quality removed print statement spaces in singleinstance.py --- src/singleinstance.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/singleinstance.py b/src/singleinstance.py index 09ca2e9a..188b2d1c 100644 --- a/src/singleinstance.py +++ b/src/singleinstance.py @@ -75,7 +75,7 @@ class singleinstance(object): fcntl.lockf(self.fp, fcntl.LOCK_EX | fcntl.LOCK_NB) self.lockPid = os.getpid() except IOError: - print ('Another instance of this application is already running') + print('Another instance of this application is already running') sys.exit(-1) else: pidLine = "%i\n" % self.lockPid @@ -99,7 +99,7 @@ class singleinstance(object): pass return - print ("Cleaning up lockfile") + print("Cleaning up lockfile") try: if sys.platform == 'win32': if hasattr(self, 'fd'):