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
+++ b/hgext/patchbomb.py
@@ -383,7 +383,7 @@ def patchbomb(ui, repo, *revs, **opts):
             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: