Apply 65_handle_templates_directories.patch
authorMichael Spang <mspang@uwaterloo.ca>
Thu, 13 Sep 2007 00:32:59 +0000 (20:32 -0400)
committerMichael Spang <mspang@uwaterloo.ca>
Thu, 13 Sep 2007 00:32:59 +0000 (20:32 -0400)
bin/update

index ec78dcb..c36dc27 100755 (executable)
@@ -127,7 +127,7 @@ def move_language_templates(mlist):
         try:
             fp = open(os.path.join(mm_cfg.TEMPLATE_DIR, gtemplate))
         except IOError, e:
-            if e.errno <> errno.ENOENT: raise
+            if not (e.errno in [errno.ENOENT, errno.EISDIR, ]): raise
             # No global template
             continue