[minor] [install] sync doctypes for app

This commit is contained in:
Rushabh Mehta 2013-09-11 17:38:05 +05:30
parent 940c52798c
commit 5302d1e8e8

View file

@ -83,14 +83,15 @@ class Installer:
try:
from startup import install
except ImportError, e:
print "No app install found"
return
install = None
install.pre_import()
sync_for("app", force=True, sync_everything=True)
install and install.pre_import()
if os.path.exists("app"):
sync_for("app", force=True, sync_everything=True)
print "Completing App Import..."
install.post_import()
install and install.post_import()
print "Updating patches..."
self.set_all_patches_as_completed()