aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordol-sen <brian.dolbec@gmail.com>2011-08-13 08:01:49 -0700
committerdol-sen <brian.dolbec@gmail.com>2011-08-13 08:01:49 -0700
commite78113321c0627291c176930e0493867e9cafc1d (patch)
treefa25a6814aa4bd24927f3761b76aa756c7d48155 /layman/api.py
parentfix wrong variable name in the layman.cfg explanations. (diff)
downloadlayman-e78113321c0627291c176930e0493867e9cafc1d.tar.gz
layman-e78113321c0627291c176930e0493867e9cafc1d.tar.bz2
layman-e78113321c0627291c176930e0493867e9cafc1d.zip
remove some dead ERROR constants
Diffstat (limited to 'layman/api.py')
-rwxr-xr-xlayman/api.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/layman/api.py b/layman/api.py
index f48e11f..cfd9a68 100755
--- a/layman/api.py
+++ b/layman/api.py
@@ -23,10 +23,6 @@ from layman.db import DB, RemoteDB
from layman.overlays.source import require_supported
#from layman.utils import path, delete_empty_directory
-# give them some values for now, these are from the packagekit backend
-# TODO establish some proper errors for the api.
-ERROR_REPO_NOT_FOUND = -1
-ERROR_INTERNAL_ERROR = -2
UNKNOWN_REPO_ID = "Repo ID '%s' " + \
"is not listed in the current available overlays list"