We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55d3fa8 commit f544da1Copy full SHA for f544da1
tests/helpers/ptrack_helpers.py
@@ -109,10 +109,7 @@ def is_nls_enabled():
109
stdout=subprocess.PIPE,
110
stderr=subprocess.PIPE
111
)
112
- if b'enable-nls' in p.communicate()[0]:
113
- return True
114
- else:
115
- return False
+ return b'enable-nls' in p.communicate()[0]
116
117
118
class ProbackupException(Exception):
0 commit comments