changeset 5595:b95b2525c6e8

fix some imports; pushing bz2 bundles over http is currently untested
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Mon, 03 Dec 2007 11:58:29 +0100
parents 8623debad845
children 20b07b68a865
files mercurial/hgweb/hgweb_mod.py mercurial/hgweb/webcommands.py
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/hgweb/hgweb_mod.py	Sun Dec 02 21:54:56 2007 -0800
+++ b/mercurial/hgweb/hgweb_mod.py	Mon Dec 03 11:58:29 2007 +0100
@@ -6,7 +6,7 @@
 # This software may be used and distributed according to the terms
 # of the GNU General Public License, incorporated herein by reference.
 
-import os, mimetypes, re, mimetools, cStringIO, sys, urllib, bz2
+import os, mimetypes, re, mimetools, cStringIO
 from mercurial.node import *
 from mercurial import mdiff, ui, hg, util, archival, patch
 from mercurial import revlog, templater
--- a/mercurial/hgweb/webcommands.py	Sun Dec 02 21:54:56 2007 -0800
+++ b/mercurial/hgweb/webcommands.py	Mon Dec 03 11:58:29 2007 +0100
@@ -5,7 +5,7 @@
 # This software may be used and distributed according to the terms
 # of the GNU General Public License, incorporated herein by reference.
 
-import cStringIO, zlib, tempfile, errno, os, sys
+import cStringIO, zlib, bz2, tempfile, errno, os, sys
 from mercurial import revlog, util, streamclone
 from mercurial.i18n import gettext as _
 from mercurial.node import *