changeset 4959:4fd5269daf35

bug #61849: fix outer parenthesis in read method
author Luis Falcon <falcon@gnuhealth.org>
date Wed, 19 Jan 2022 16:09:09 +0000
parents 5ec2710e10d1
children ce8df108f14b
files tryton/health_profile/setup.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tryton/health_profile/setup.py
+++ b/tryton/health_profile/setup.py
@@ -22,7 +22,7 @@
 
 
 def read(fname):
-    return open(os.path.join(os.path.dirname(__file__), fname).read())
+    return open(os.path.join(os.path.dirname(__file__), fname)).read()
 
 
 config = configparser.ConfigParser()
@@ -44,7 +44,7 @@
         health_package = dep.split('_', 1)[1]
         requires.append(
             'gnuhealth_%s == %s' % (health_package, info.get('version')))
-    else: 
+    else:
         if not re.match(r'(ir|res)(\W|$)', dep):
             requires.append(
                 'trytond_%s >= %s.%s, < %s.%s' %