Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: sitescripts/extensions/bin/createNightlies.py

Issue 29323474: Issue 2896 - Automate uploading of Firefox development builds to AMO (Closed)
Patch Set: Cleaned up imports Created Aug. 13, 2015, 12:59 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld