* relax requirement of PartOf
This commit is contained in:
+1
-1
@@ -148,7 +148,7 @@ class Source:
|
|||||||
t_Summary = [autoxml.LocalText, autoxml.mandatory]
|
t_Summary = [autoxml.LocalText, autoxml.mandatory]
|
||||||
t_Description = [autoxml.LocalText, autoxml.mandatory]
|
t_Description = [autoxml.LocalText, autoxml.mandatory]
|
||||||
t_IsA = [ [autoxml.String], autoxml.mandatory]
|
t_IsA = [ [autoxml.String], autoxml.mandatory]
|
||||||
t_PartOf = [autoxml.String, autoxml.mandatory]
|
t_PartOf = [autoxml.String, autoxml.optional]
|
||||||
t_Icon = [ autoxml.String, autoxml.optional]
|
t_Icon = [ autoxml.String, autoxml.optional]
|
||||||
t_License = [ [autoxml.String], autoxml.mandatory]
|
t_License = [ [autoxml.String], autoxml.mandatory]
|
||||||
t_Archive = [Archive, autoxml.mandatory ]
|
t_Archive = [Archive, autoxml.mandatory ]
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
#! /usr/bin/python
|
#! /usr/bin/python
|
||||||
|
# a simple tool to list stuff in source repository
|
||||||
|
# author: exa
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
@@ -11,7 +13,7 @@ import pisi.context as ctx
|
|||||||
import pisi.util
|
import pisi.util
|
||||||
|
|
||||||
options = pisi.config.Options()
|
options = pisi.config.Options()
|
||||||
if len(sys.argv)>2:
|
if len(sys.argv) > 2:
|
||||||
options.destdir=sys.argv[2]
|
options.destdir=sys.argv[2]
|
||||||
else:
|
else:
|
||||||
options.destdir = '/'
|
options.destdir = '/'
|
||||||
|
|||||||
Reference in New Issue
Block a user