[Blends-commit] r1759 - blends/trunk/webtools
Debian Pure Blends Subversion Commit
noreply at alioth.debian.org
Mon Aug 10 19:52:28 UTC 2009
Author: tille
Date: Mon Aug 10 19:52:27 2009
New Revision: 1759
URL: http://svn.debian.org/viewsvn/blends?rev=1759&view=rev
Log:
Make sure status pkgvcs will not override status new
Modified:
blends/trunk/webtools/blendstasktools.py
Modified: blends/trunk/webtools/blendstasktools.py
URL: http://svn.debian.org/viewsvn/blends/blends/trunk/webtools/blendstasktools.py?rev=1759&view=diff&r1=1759&r2=1758&p1=blends/trunk/webtools/blendstasktools.py&p2=blends/trunk/webtools/blendstasktools.py
==============================================================================
--- blends/trunk/webtools/blendstasktools.py (original)
+++ blends/trunk/webtools/blendstasktools.py Mon Aug 10 19:52:27 2009
@@ -1152,7 +1152,8 @@
else:
print >>stderr, "Dep not initiated before Vcs-Svn %s -> something is wrong." \
% stanza['vcs-svn']
- dep.pkgstatus = 'pkgvcs'
+ if dep.pkgstatus == 'unknown':
+ dep.pkgstatus = 'pkgvcs'
elif key == 'Vcs-Git' or key == 'vcs-git': # strangely enough on alioth the later
# spelling seems to be needed - no idea why
if dep != None:
@@ -1189,7 +1190,8 @@
else:
print >>stderr, "Dep not initiated before Vcs-Browser %s -> something is wrong." \
% stanza['vcs-browser']
- dep.pkgstatus = 'pkgvcs'
+ if dep.pkgstatus == 'unknown':
+ dep.pkgstatus = 'pkgvcs'
elif key == 'section':
if dep != None:
dep.section = stanza['section']
More information about the Blends-commit
mailing list