commit | bff6b136b71489507c0b8bb371c6229ec24513f1 | [log] [tgz] |
---|---|---|
author | Scott Baker <smbaker@gmail.com> | Thu Apr 03 11:35:25 2014 -0700 |
committer | Scott Baker <smbaker@gmail.com> | Thu Apr 03 11:35:25 2014 -0700 |
tree | a8cbc704f7205ce98200d7f5ad552b3c92b566bb | |
parent | ceb464bffa9fda65c27d8f7315b817a5e91ca3e8 [diff] [blame] |
fix for running dmdot on syndicate
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 @@ #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")