mirror of https://github.com/ARMmbed/mbed-os.git
Removed uneeded dependencies and added license header
parent
83392b1092
commit
3e9b838a7a
|
|
@ -1,22 +1,25 @@
|
||||||
#!/usr/bin/env python
|
"""
|
||||||
|
mbed SDK
|
||||||
|
Copyright (c) 2011-2013 ARM Limited
|
||||||
|
|
||||||
import os
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
"""
|
||||||
import sys
|
import sys
|
||||||
import argparse
|
import argparse
|
||||||
import ast
|
|
||||||
import urllib2
|
|
||||||
import urllib
|
|
||||||
import time
|
|
||||||
import datetime
|
|
||||||
import xml.etree.ElementTree as ET
|
import xml.etree.ElementTree as ET
|
||||||
|
|
||||||
import pprint
|
|
||||||
|
|
||||||
import requests
|
import requests
|
||||||
import urlparse
|
import urlparse
|
||||||
|
|
||||||
pp = pprint.PrettyPrinter(indent=4)
|
|
||||||
|
|
||||||
def create_headers(args):
|
def create_headers(args):
|
||||||
return { 'X-Api-Key': args.api_key }
|
return { 'X-Api-Key': args.api_key }
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue