* installed size is integer

This commit is contained in:
Eray Özkural
2005-11-03 02:03:41 +00:00
parent 0247d8c9ce
commit 77bd484d8c
2 changed files with 7 additions and 3 deletions
+2 -2
View File
@@ -343,8 +343,8 @@ class Builder:
for path in package.files:
size += util.dir_size(util.join_path(d, path.path))
metadata.package.installedSize = str(size)
metadata.package.installedSize = int(size) # should be enough for everyone!
# mwahahah! FIXME: really?
# build no
if ctx.config.options.ignore_build_no:
metadata.package.build = None # means, build no information n/a
+5 -1
View File
@@ -63,6 +63,8 @@ mandatory, optional = range(2) # poor man's enum
String = types.StringType
Text = types.UnicodeType
Integer = types.IntType
Long = types.LongType
Float = types.FloatType
#class datatype(type):
# def __init__(cls, name, bases, dict):
@@ -726,7 +728,9 @@ class autoxml(oo.autosuper, oo.autoprop):
basic_cons_map = {
types.StringType : str,
types.UnicodeType : unicode,
types.IntType : int
types.IntType : int,
types.FloatType : float,
types.LongType : long
}