diff hgext/patchbomb.py @ 4600:64c415d2553a

patchbomb: fix PAGER buglet introduced in 88fc92b0b821
author Brendan Cully <brendan@kublai.com>
date Sun, 17 Jun 2007 20:09:35 -0700
parents 88fc92b0b821
children ff7253a0d1da
line wrap: on
line diff
--- 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: