From e671f201ee86913d87f88a6c4475441165a1d65a Mon Sep 17 00:00:00 2001 From: Patrick Armstrong Date: Thu, 11 Oct 2012 12:21:50 -0700 Subject: [PATCH] Add warning about import from pyon --- pidantic/pyon/pidpyon.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pidantic/pyon/pidpyon.py b/pidantic/pyon/pidpyon.py index 1faf7ab..3c872db 100644 --- a/pidantic/pyon/pidpyon.py +++ b/pidantic/pyon/pidpyon.py @@ -10,6 +10,8 @@ try: from interface.objects import ProcessStateEnum except ImportError: + # This will never be used outside of an ion env, but + # it's possible this file could be imported elsewhere ProcessStateEnum = object() class PyonPidanticFactory(PidanticFactory):