-
Notifications
You must be signed in to change notification settings - Fork 967
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' of https://github.com/phac-nml/galaxy into configu…
…rable_priorities__default_priorities
- Loading branch information
Showing
1,985 changed files
with
89,916 additions
and
131,572 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#!/bin/sh | ||
|
||
if command -v ack-grep >/dev/null; then | ||
ACK=ack-grep | ||
else | ||
ACK=ack | ||
fi | ||
|
||
export ACK_OPTIONS=" --type python \ | ||
--ignore-dir=.git/ \ | ||
--ignore-dir=.tox/ \ | ||
--ignore-dir=.venv/ \ | ||
--ignore-dir=client/node_modules/ \ | ||
--ignore-dir=database/ \ | ||
--ignore-dir=doc/build/ \ | ||
--ignore-dir=eggs/ \ | ||
--ignore-dir=static/maps/ \ | ||
--ignore-dir=static/scripts/" | ||
|
||
PYTHON2_ONLY_MODULES="__builtin__ _winreg BaseHTTPServer CGIHTTPServer \ | ||
ConfigParser Cookie cookielib copy_reg cPickle cStringIO Dialog dummy_thread \ | ||
FileDialog gdbm htmlentitydefs HTMLParser httplib Queue robotparser \ | ||
ScrolledText SimpleDialog SimpleHTTPServer SimpleXMLRPCServer SocketServer \ | ||
StringIO thread Tix tkColorChooser tkCommonDialog Tkconstants Tkdnd tkFont \ | ||
Tkinter tkFileDialog tkMessageBox tkSimpleDialog ttk urllib urllib2 urlparse \ | ||
xmlrpclib" | ||
|
||
ret=0 | ||
for mod in $PYTHON2_ONLY_MODULES; do | ||
$ACK "^import $mod(\n|\.)|^from $mod import " | ||
if [ $? -eq 0 ]; then ret=1; fi | ||
done | ||
|
||
exit $ret |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.