fix: add required sources thing to component structure

This commit is contained in:
Eray Özkural
2006-05-18 13:10:40 +00:00
parent 3cacfffb07
commit 174f9e1ef0
2 changed files with 4 additions and 2 deletions
+2 -2
View File
@@ -12,9 +12,9 @@
# PiSi version # PiSi version
__version__ = "1.1_beta6" __version__ = "1.1_beta7"
__dbversion__ = "1.1_beta6" __dbversion__ = "1.1_beta7"
__filesdbversion__ = "1.0.5" # yes, this is the real bottleneck __filesdbversion__ = "1.0.5" # yes, this is the real bottleneck
__all__ = [ 'api', 'config', 'packagedb', 'installdb', 'search' ] __all__ = [ 'api', 'config', 'packagedb', 'installdb', 'search' ]
+2
View File
@@ -72,6 +72,8 @@ class Component(xmlfile.XmlFile):
# to be filled by the component database, thus it is optional. # to be filled by the component database, thus it is optional.
t_Packages = [ [autoxml.String], autoxml.optional, "Parts/Package"] t_Packages = [ [autoxml.String], autoxml.optional, "Parts/Package"]
t_Sources = [ [autoxml.String], autoxml.optional, "Parts/Source"]
# TODO: this is probably not necessary since we use fully qualified # TODO: this is probably not necessary since we use fully qualified
# module names (like in Java) # module names (like in Java)
#t_PartOf = [autoxml.Text, autoxml.mandatory] #t_PartOf = [autoxml.Text, autoxml.mandatory]