Entropy/Equo:

- check if arguments passed by user are valid UTF8


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2558 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
lxnay
2008-10-24 09:56:19 +00:00
parent 8295bab21d
commit f5a0bf69c1

View File

@@ -51,6 +51,9 @@ def package(options):
_myopts = []
mytbz2paths = []
for opt in myopts:
if not Equo.entropyTools.is_valid_unicode(opt):
print_error(red(" %s." % (_("Malformed command"),) ))
return -10
if (opt == "--nodeps"):
equoRequestDeps = False
elif (opt == "--empty"):