Index: sitescripts/extensions/bin/createNightlies.py |
=================================================================== |
--- a/sitescripts/extensions/bin/createNightlies.py |
+++ b/sitescripts/extensions/bin/createNightlies.py |
@@ -20,29 +20,41 @@ |
Nightly builds generation script |
================================ |
This script generates nightly builds of extensions, together |
with changelogs and documentation. |
""" |
-import sys, os, os.path, subprocess, ConfigParser, json, hashlib |
-import tempfile, shutil, urlparse, pipes, time, urllib2, struct |
+import ConfigParser |
import cookielib |
+from datetime import datetime |
+import hashlib |
import HTMLParser |
+import json |
import logging |
-from datetime import datetime |
+import os |
+import pipes |
+import shutil |
+import struct |
+import subprocess |
+import sys |
+import tempfile |
+import time |
from urllib import urlencode |
+import urllib2 |
+import urlparse |
from xml.dom.minidom import parse as parseXml |
-from sitescripts.utils import get_config, get_template |
+ |
from sitescripts.extensions.utils import ( |
compareVersions, Configuration, |
writeAndroidUpdateManifest |
) |
+from sitescripts.utils import get_config, get_template |
MAX_BUILDS = 50 |
class NightlyBuild(object): |
""" |
Performs the build process for an extension, |
generating changelogs and documentation. |