diff options
Diffstat (limited to 'master/autotua/process/__init__.py')
-rw-r--r-- | master/autotua/process/__init__.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/master/autotua/process/__init__.py b/master/autotua/process/__init__.py index 13ec6d2..75d86b3 100644 --- a/master/autotua/process/__init__.py +++ b/master/autotua/process/__init__.py @@ -7,8 +7,6 @@ # import random -from django.core.validators import ValidationError -import const, validate from autotua import jobuild, sync schemes = ['http', 'https', 'ftp'] @@ -33,7 +31,7 @@ def _get_arch_dir(arch): for i in const.ARCHS: if arch in const.ARCHS[i]: return i - raise ValidationError(const.VERRORS['invalid_arch'] % i) + raise Exception(const.VERRORS['invalid_arch'] % i) def _get_deplist(atoms, rev): """ |