# HG changeset patch # User Steve Losh # Date 1327682573 18000 # Node ID 0649e77b06d03c2edecbf6ffc3612099c0f88436 # Parent 97c27cccb45897f740c4c9a9f221d7b22d888aea# Parent 91bec91479bc908fa267a91238c6ad5a01ea0700 Merge. diff -r 97c27cccb458 -r 0649e77b06d0 prompt.py --- a/prompt.py Wed Jan 25 00:18:00 2012 +0100 +++ b/prompt.py Fri Jan 27 11:42:53 2012 -0500 @@ -1,7 +1,5 @@ #!/usr/bin/env python -from __future__ import with_statement - '''get repository information for use in a shell prompt Take a string, parse any special variables inside, and output the result. @@ -10,6 +8,8 @@ a shell prompt. ''' +from __future__ import with_statement + import re import os import subprocess