From 36f36ee49e4105d1cc54ba44c64d1864e84c6d5b Mon Sep 17 00:00:00 2001 From: n1nj4sec Date: Sun, 24 Jan 2016 19:22:47 +0100 Subject: [PATCH] small fixes --- .gitignore | 2 ++ pupy/modules/linux_pers.py | 2 +- pupy/requirements.txt => requirements.txt | 0 3 files changed, 3 insertions(+), 1 deletion(-) rename pupy/requirements.txt => requirements.txt (100%) diff --git a/.gitignore b/.gitignore index fbb3722e..1709a1e3 100644 --- a/.gitignore +++ b/.gitignore @@ -34,6 +34,8 @@ client/**/*.py[cod] pupy/*.py[cod] pupy/pupylib/**/*.py[cod] pupy/modules/*.py[cod] +pupy/modules/lib/*.py[cod] +pupy/modules/lib/**/*.py[cod] pupy/network/**/*.pyc # do not ignore package & templates files diff --git a/pupy/modules/linux_pers.py b/pupy/modules/linux_pers.py index a96a2b3c..c24340bf 100644 --- a/pupy/modules/linux_pers.py +++ b/pupy/modules/linux_pers.py @@ -4,11 +4,11 @@ from pupylib.PupyModule import * __class_name__="SetPersistence" -@compatibility("unix") def print_callback(data): sys.stdout.write(data) sys.stdout.flush() +@compatibility("unix") class SetPersistence(PupyModule): """Add your pp.py file to /etc/init.d/ scripts NOTE: the pp.py script needs to be running with root privileges in order to modify the init scripts.""" diff --git a/pupy/requirements.txt b/requirements.txt similarity index 100% rename from pupy/requirements.txt rename to requirements.txt