patchbomb: fix PAGER buglet introduced in 88fc92b0b821
authorBrendan Cully <brendan@kublai.com>
Sun, 17 Jun 2007 20:09:35 -0700
changeset 4600 64c415d2553a
parent 4599 88fc92b0b821
child 4601 e69da61e467e
patchbomb: fix PAGER buglet introduced in 88fc92b0b821
hgext/patchbomb.py
--- a/hgext/patchbomb.py	Sun Jun 17 20:35:43 2007 +0200
+++ b/hgext/patchbomb.py	Sun Jun 17 20:09:35 2007 -0700
@@ -383,7 +383,7 @@
             ui.status('Displaying ', m['Subject'], ' ...\n')
             ui.flush()
             if 'PAGER' in os.environ:
-                fp = os.popen(os['PAGER'], 'w')
+                fp = os.popen(os.environ['PAGER'], 'w')
             else:
                 fp = ui
             try: