Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: sitescripts/management/bin/installChanges.py

Issue 29345348: Noissue - Got rid of redundant paranthesis around if condition (Closed)
Patch Set: Created May 30, 2016, 11:05 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sitescripts/reports/web/updateReport.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sitescripts/management/bin/installChanges.py
===================================================================
--- a/sitescripts/management/bin/installChanges.py
+++ b/sitescripts/management/bin/installChanges.py
@@ -33,7 +33,7 @@
def chown((uid, gid), dirname, names):
for name in names:
os.chown(os.path.join(dirname, name), uid, gid)
- if (name.endswith('.fcgi') or name.endswith('.sh') or name.endswith('.pl')):
+ if name.endswith('.fcgi') or name.endswith('.sh') or name.endswith('.pl'):
os.chmod(os.path.join(dirname, name), 0755)
« no previous file with comments | « no previous file | sitescripts/reports/web/updateReport.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld