diff options
author | Sean Finney <seanius@debian.org> | 2008-06-11 21:47:17 +0200 |
---|---|---|
committer | Sean Finney <seanius@debian.org> | 2008-06-11 21:47:17 +0200 |
commit | a1c489e00ec4ead9f5c55dd95d94b6b9e0602306 (patch) | |
tree | e384c3d7caa1e6838fd0cc79baa9706a1e9ae2ee /pagehandler.py | |
parent | 6a70f64a3cac69d9d6dc8346ad845db07f6c1dc5 (diff) | |
download | patch-tracker-a1c489e00ec4ead9f5c55dd95d94b6b9e0602306.tar.gz |
further cgi related fixes
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 |