* use task names that eric3 knows about
This commit is contained in:
+2
-2
@@ -149,12 +149,12 @@ def upgrade_pkg_names(A):
|
|||||||
(version, release) = installdb.get_version(x)
|
(version, release) = installdb.get_version(x)
|
||||||
(versionp, releasep) = (packagedb.get_package(x).version,
|
(versionp, releasep) = (packagedb.get_package(x).version,
|
||||||
packagedb.get_package(x).release)
|
packagedb.get_package(x).release)
|
||||||
# BUG: we should use build instead of release
|
# FIXME: we should use build instead of release
|
||||||
if release < releasep:
|
if release < releasep:
|
||||||
Ap.append(x)
|
Ap.append(x)
|
||||||
else:
|
else:
|
||||||
#ui.info('Package %s cannot be upgraded. ' % x)
|
#ui.info('Package %s cannot be upgraded. ' % x)
|
||||||
# BUG: where is build no?
|
# FIXME: where is build no?
|
||||||
ui.info('Package %s is already at its latest version %s,\
|
ui.info('Package %s is already at its latest version %s,\
|
||||||
release %s, build ?.\n'
|
release %s, build ?.\n'
|
||||||
% (x, versionp, releasep))
|
% (x, versionp, releasep))
|
||||||
|
|||||||
+1
-1
@@ -90,7 +90,7 @@ class XmlFile(object):
|
|||||||
return node.childNodes
|
return node.childNodes
|
||||||
|
|
||||||
# get only elements of a given type
|
# get only elements of a given type
|
||||||
# BUG: this doesn't work
|
#FIXME: this doesn't work
|
||||||
def getChildrenWithType(self, tagpath, type):
|
def getChildrenWithType(self, tagpath, type):
|
||||||
""" returns the children of the given path, only with given type """
|
""" returns the children of the given path, only with given type """
|
||||||
node = self.getNode(tagpath)
|
node = self.getNode(tagpath)
|
||||||
|
|||||||
Reference in New Issue
Block a user