summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdiff-gitosis-conf-against-repositories-xml.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/diff-gitosis-conf-against-repositories-xml.py b/diff-gitosis-conf-against-repositories-xml.py
index 638e161..a303533 100755
--- a/diff-gitosis-conf-against-repositories-xml.py
+++ b/diff-gitosis-conf-against-repositories-xml.py
@@ -143,7 +143,10 @@ for section_name in gitosis_conf.sections():
log = ChangeLog(gitosis_repo_name, is_new)
if 'status' not in repo.attrib:
- repo.attrib['status'] = 'official'
+ if owner_part == 'user':
+ repo.attrib['status'] = 'unofficial'
+ else:
+ repo.attrib['status'] = 'official'
log.log('attribute', 'status')
if 'quality' not in repo.attrib: