Browse Source

Update and rename importfoldertree.py to importpackages.py

master
Gerry Nelson 7 years ago
committed by GitHub
parent
commit
288720f481
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      importpackages.py

6
importfoldertree.py → importpackages.py

@ -1,7 +1,8 @@
#!/usr/bin/python #!/usr/bin/python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# importfoldertree.py March 2018 # importpackages.py
# March 2018
# #
# Pass in a directory and this tool will import all the json files in the directory. It depends on the admin CLI # Pass in a directory and this tool will import all the json files in the directory. It depends on the admin CLI
# #
@ -16,6 +17,9 @@
# 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 # 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. # OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
# #
# change log
# renamed to importpackages.py to be more descriptive of actual usage
#
# Import Python modules # Import Python modules
import argparse, sys, subprocess, os, json import argparse, sys, subprocess, os, json
from sharedfunctions import callrestapi from sharedfunctions import callrestapi
Loading…
Cancel
Save