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:
@@ -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"):
|
||||
|
||||
Reference in New Issue
Block a user