Index: sitescripts/subscriptions/knownIssuesParser.py |
=================================================================== |
--- a/sitescripts/subscriptions/knownIssuesParser.py |
+++ b/sitescripts/subscriptions/knownIssuesParser.py |
@@ -145,17 +145,17 @@ def extractMatches(rules, rulesets, lang |
result = result.keys() |
result.sort() |
return result |
@cached(600) |
def getRules(): |
repoPath = os.path.abspath(get_config().get('subscriptions', 'repository')) |
- data = subprocess.check_output(['hg', '-q', '-R', repoPath, 'cat', '-r', 'default', os.path.join(repoPath, 'knownIssues')]) |
+ data = subprocess.check_output(['hg', '-R', repoPath, 'cat', '-r', 'default', os.path.join(repoPath, 'knownIssues')]) |
data = data.decode('utf-8').replace('\r', '').split('\n') |
data.append('[]') # Pushes out last section |
rules = {} |
rulesets = [] |
ruleset = None |
for line in data: |