diff options
Diffstat (limited to 'pagehandler.py')
-rwxr-xr-x | pagehandler.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pagehandler.py b/pagehandler.py index 2ae7a08..858534b 100755 --- a/pagehandler.py +++ b/pagehandler.py @@ -1,4 +1,5 @@ #!/usr/bin/python +# -*- coding: utf-8 -*- import cgi import os @@ -22,7 +23,11 @@ class CmdHandler: self.patchname = args[7] self.content = dh.series().fetch(self.patchname) elif patchtype == "debianonly": - something = True + self.patchname = "debian-dir only changes" + self.content = dh.debiandir() + elif patchtype == "nondebian": + self.patchname = "direct (non packaging) changes" + self.content = dh.nondebiandir() else: self.error("unhandled patch type '%s'"%(patchtype)) self.pkgname = pkgname |