Submitter | Sean Farley |
---|---|
Date | Dec. 16, 2015, 6:46 p.m. |
Message ID | <11971d769204eb9b53bc.1450291585@laptop.office.atlassian.com> |
Download | mbox | patch |
Permalink | /patch/12075/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/crecord.py b/mercurial/crecord.py --- a/mercurial/crecord.py +++ b/mercurial/crecord.py @@ -41,12 +41,13 @@ except ImportError: # I have no idea if wcurses works with crecord... try: import wcurses as curses curses.error except ImportError: - # wcurses is not shipped on Windows by default - pass + # wcurses is not shipped on Windows by default, or python is not + # compiled with curses + curses = False try: curses except NameError: if os.name != 'nt': # Temporary hack to get running on Windows again