Permalink
Browse files

Remove kango

  • Loading branch information...
1 parent 7f34505 commit 7aa5f1f004345af4d966f830c936fe6aa364cd25 @mattbasta committed Jun 1, 2013
Showing with 1 addition and 84 deletions.
  1. +1 −28 extras/jslibfetcher.py
  2. +0 −56 validator/testcases/hashes.txt
View
@@ -1,13 +1,9 @@
import urllib
-import urllib2
import os
-base_dir = "jslibs/"
-
-
def process(url, destination):
- destination = base_dir + destination
+ destination = "jslibs/%s" % destination
if os.path.exists(destination):
return
@@ -192,26 +188,3 @@ def get_pattern(prefix, url_pattern, versions):
get_pattern(
"crypto_js", "http://crypto-js.googlecode.com/svn/tags/3.0.2/src/%s.js",
CRYPTO_FILES)
-
-
-import zipfile
-from StringIO import StringIO
-
-def process_zip(url):
-
- url_filename = url.split('/')[-1].split('?')[0].replace('.', '-')
-
- data = urllib2.urlopen(url)
- zipdata = StringIO()
- zipdata.write(data.read())
-
- zf = zipfile.ZipFile(zipdata)
- for name in zf.namelist():
- if name.endswith('.js'):
- filename = name.split('/')[-1]
- with open(base_dir + '%s_%s' % (url_filename, filename),
- mode="w") as jsf:
- jsf.write(zf.open(name).read())
-
-
-process_zip('http://kangoextensions.com/kango/kango-framework-latest.zip')
@@ -227,62 +227,6 @@ d5203dbbb97db1a68ca5a3adf265f17cdaea738d
db895a7ed5c8b42e27de2b3ef3199d038a259fdb
c71ddb1b3843c24e909a31595b7e873d7e6da45d
a192b2ef3371febba192179ff86e3da3f633160d
-5b10db39cccbffe50faa13340547c616a9ccff9a
-2e2ee920e951b46df1ad232806ce652c2b53a3aa
-b90856bd841aad8df745af0217bec6d4a88182e7
-042342202e1fa9fec057090e8bae58ed3180633a
-4f0af7cded93bff8c37a0f63251d4e00d757611b
-8473b0002e4ba35872d5e3ad8046c88163b7f53c
-e336bcf98b1dbb5f5a070882dd05a71e992d7747
-66b196c348fa02e8887f3f6c583bc34c31c9029e
-69dce947259141ea91d1cfadf13a98e95e9709c6
-c3d0d384cf6f73bed06f2999b5aa144d9c9ff4bf
-5e9fae63898f06590a2436cca32bbb4abb663e40
-9135e44730aad7af3c996f73878b074ce9452a50
-86e550eb627f88a5da2e2d0cb51d6ea20ccf7d4a
-9228c26206d7d95402a1dca1ca5767fb6c34351c
-57e9cfcd8e87e4549175807041992f62d82f43de
-3a372ce2a2f4607f91e1372c403605b2416008c4
-9481c0a1d749e32ccee232a38ef10b8fcfd6e69f
-801599037b556c915710d6ffa95f20e2c6b2edb1
-64ba539e5c930c72119c76a41b1786d05a7b3dcd
-f1b035efa6cbb5fbfa5aa2dacba63652136456b4
-e36ff9a8a70f8444b6fccd45f8b0dba9b2ac4fa0
-abb8ca85218cbbd2979b9c7d1951506b82a5f0cb
-24a2b4546a96bebfe26c460bb9ffe3d6062a762c
-ae49e56999d82802727455f0ba83b63acd90a22b
-65cbff4e9d95d47a6f31d96ab4ea361c1f538a7b
-98fea4f62d57d5b91db99db3fff26edff5e3a0d2
-30923f1e85248dff2e37edb77a68f7c62bf8caa1
-9518b2bc532d208738487b0ba69943e37757f54c
-794c563521ff8694782f75489b1e07e8064c87b3
-70874fd36fceda236591a4584f95086aefa87690
-293c1590a9e206f5e4cfb2e137553eb641943201
-80b21a2bb4783b6fbb56eb85fee87b80e1aa8183
-b95bfe28bd193f569edd5b4e78a711f8d8c46c62
-532d59b25a9cb577d3875ff4489f0788be18d29f
-508279716a9ff655771402a78e999d94a1346334
-b3a696fb5129c961a37d47ef9aa59de3e9bd27b3
-f657b0651a9bae256ee672cdd45d72740aab7bbf
-a97c6a5752f0242178c731ece3aede33f8145be1
-85d3c5c18f204b53cc971282e5559bfbd06450ab
-91bac8803f9ca6ddcde4231ca663650ac3ab63f7
-8fab0b93a5e625ef68a94c862354badd7573bdbf
-0c23370a76254bc5e3b14678703e3aa2ba42fbeb
-bf18843e6826fb0fb30723698a632a91c5173ed4
-72bbb4888236f664aa7716adab6ff81826b02f06
-5ea9cb2a2ebd08393bc6d0827cd4e720bf7b0154
-97a7daa90d1f0a33ad38e64253d96bda581cfba7
-3890778daac1540f5042f2ab5b4e95268f61bb37
-41110685272a0bb8567b90edeafcb4898ff5c7a0
-9a447bcbda28cb5318041fdd47194f32477ae927
-32001173126e216e7931e714fbda43fa563a211f
-2af9982cd8376f23d9217f432e83dd494e0a9dff
-0b1bd73ee55c018d5f628f73ce1c29ab506d0d2e
-cfe5e6abe5241c84d8e86ee0b4a5ea7e35f30742
-945fd47919148330170d4639b80edd24cb813865
-d65409de8345cc1c93a6b74c2cea0d7c1f51afe9
-47e4f621fb538d9e8ec83deb058e2e102fa8dae3
03a65e56fc95caea1b85a591c984e9b6c080726d
c0c37b7d3119f29d3759fdaf7eb8bc4670ea9e7f
5f970c3c8ca26a94c14a1ae1e7321621cf4eae0c

0 comments on commit 7aa5f1f

Please sign in to comment.