hgext/convert/common.py
changeset 5996 3f9ce63da18c
parent 5959 0162c6cc045e
child 6001 30d2fecaab76
--- a/hgext/convert/common.py	Fri Feb 01 13:09:45 2008 -0800
+++ b/hgext/convert/common.py	Fri Feb 01 13:11:03 2008 -0800
@@ -311,6 +311,8 @@
         self._read()
 
     def _read(self):
+        if self.path is None:
+            return
         try:
             fp = open(self.path, 'r')
         except IOError, err: