diff options
| author | Robin Norwood <rnorwood@solitude.devel.redhat.com> | 2007-09-21 12:07:40 -0400 |
|---|---|---|
| committer | Robin Norwood <rnorwood@solitude.devel.redhat.com> | 2007-09-21 12:07:40 -0400 |
| commit | 15744d6ff91a583fabb7554bed16bc249bc38c32 (patch) | |
| tree | fd37cdbd0d0dd04fca2654a74cd58f66833c2ed8 /modules/reboot.py | |
| parent | 62bf26a5f7fed44ba703e3b854a4923ce1447f27 (diff) | |
| parent | 75677513dd6d1f79a0411fec942ad4968d86dd25 (diff) | |
| download | third_party-func-15744d6ff91a583fabb7554bed16bc249bc38c32.tar.gz third_party-func-15744d6ff91a583fabb7554bed16bc249bc38c32.tar.xz third_party-func-15744d6ff91a583fabb7554bed16bc249bc38c32.zip | |
Merge branch 'master' of git://git.fedoraproject.org/git/hosted/func
Diffstat (limited to 'modules/reboot.py')
| -rwxr-xr-x | modules/reboot.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/reboot.py b/modules/reboot.py index 72f9a24..1d1dc13 100755 --- a/modules/reboot.py +++ b/modules/reboot.py @@ -9,7 +9,7 @@ # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -from modules import web_svc +from modules import func_module import subprocess @@ -19,7 +19,7 @@ class Reboot(web_svc.WebSvc): self.methods = { "reboot_reboot" : self.reboot } - web_svc.WebSvc.__init__(self) + func_module.FuncModule.__init__(self) def reboot(self, when='now', message=''): return subprocess.call(["/sbin/shutdown", '-r', when, message]) |
