hgext/convert/p4.py
changeset 12401 4cdaf1adafc8
parent 12387 4f8067c94729
child 12891 b69fd38a034e
--- a/hgext/convert/p4.py	Fri Sep 24 12:00:55 2010 +0200
+++ b/hgext/convert/p4.py	Fri Sep 24 12:46:54 2010 -0500
@@ -177,7 +177,7 @@
                     elif "k" in flags:
                         keywords = self.re_keywords
 
-            elif code in ("text", "binary"):
+            elif code == "text" or code == "binary":
                 contents += data
 
         if mode is None: