From bff6b136b71489507c0b8bb371c6229ec24513f1 Mon Sep 17 00:00:00 2001 From: Scott Baker Date: Thu, 3 Apr 2014 11:35:25 -0700 Subject: [PATCH] fix for running dmdot on syndicate --- planetstack/dmdot | 2 ++ 1 file changed, 2 insertions(+) mode change 100755 => 100644 planetstack/dmdot diff --git a/planetstack/dmdot b/planetstack/dmdot old mode 100755 new mode 100644 index 4353793..f38650d --- a/planetstack/dmdot +++ b/planetstack/dmdot @@ -28,6 +28,8 @@ app = app + ".models" #models_module = imp.load_source(app, ".") models_module = __import__(app) for part in app.split(".")[1:]: + if hasattr(models_module, "PlCoreBase"): + break models_module = getattr(models_module,part) PlCoreBase = getattr(models_module,"PlCoreBase") -- 2.43.0