* relax requirement of PartOf

This commit is contained in:
Eray Özkural
2005-11-14 12:26:03 +00:00
parent fd3471ec12
commit 64c6d3e661
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -148,7 +148,7 @@ class Source:
t_Summary = [autoxml.LocalText, autoxml.mandatory]
t_Description = [autoxml.LocalText, 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_License = [ [autoxml.String], autoxml.mandatory]
t_Archive = [Archive, autoxml.mandatory ]
+3 -1
View File
@@ -1,4 +1,6 @@
#! /usr/bin/python
# a simple tool to list stuff in source repository
# author: exa
import sys
import os
@@ -11,7 +13,7 @@ import pisi.context as ctx
import pisi.util
options = pisi.config.Options()
if len(sys.argv)>2:
if len(sys.argv) > 2:
options.destdir=sys.argv[2]
else:
options.destdir = '/'