* installed size is integer
This commit is contained in:
+2
-2
@@ -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
@@ -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
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user