summaryrefslogtreecommitdiffstats
path: root/module/cli/AddPackage.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/cli/AddPackage.py')
-rw-r--r--module/cli/AddPackage.py26
1 files changed, 5 insertions, 21 deletions
diff --git a/module/cli/AddPackage.py b/module/cli/AddPackage.py
index a73401586..f7e30b64e 100644
--- a/module/cli/AddPackage.py
+++ b/module/cli/AddPackage.py
@@ -1,25 +1,9 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
-#
-#Copyright (C) 2011 RaNaN
-#
-#This program is free software; you can redistribute it and/or modify
-#it under the terms of the GNU General Public License as published by
-#the Free Software Foundation; either version 3 of the License,
-#or (at your option) any later version.
-#
-#This program is distributed in the hope that it will be useful,
-#but WITHOUT ANY WARRANTY; without even the implied warranty of
-#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-#See the GNU General Public License for more details.
-#
-#You should have received a copy of the GNU General Public License
-# along with this program; if not, see <http://www.gnu.org/licenses/>.
-#
-###
+# @author: RaNaN
+
+from pyload.cli.Handler import Handler
+from pyload.utils.printer import *
-from Handler import Handler
-from printer import *
class AddPackage(Handler):
""" let the user add packages """
@@ -63,4 +47,4 @@ class AddPackage(Handler):
println(line, "")
println(line + 1, mag("0.") + _(" back to main menu"))
- return line + 2 \ No newline at end of file
+ return line + 2