Browse files

cleanup: remove shebang lines from all source files

shebangs really only belong in executable scripts not source files
  • Loading branch information...
1 parent bfefddd commit 81520e5932d379620f20b34d3c809d29ca3f5212 @jtriley committed Nov 9, 2011
Showing with 0 additions and 118 deletions.
  1. +0 −1 starcluster/awsutils.py
  2. +0 −3 starcluster/balancers/__init__.py
  3. +0 −1 starcluster/balancers/sge/__init__.py
  4. +0 −1 starcluster/balancers/sge/visualizer.py
  5. +0 −1 starcluster/cli.py
  6. +0 −1 starcluster/cluster.py
  7. +0 −2 starcluster/clustersetup.py
  8. +0 −1 starcluster/commands/__init__.py
  9. +0 −2 starcluster/commands/addnode.py
  10. +0 −2 starcluster/commands/base.py
  11. +0 −2 starcluster/commands/completers.py
  12. +0 −2 starcluster/commands/createkey.py
  13. +0 −1 starcluster/commands/createvolume.py
  14. +0 −2 starcluster/commands/downloadimage.py
  15. +0 −2 starcluster/commands/ebsimage.py
  16. +0 −1 starcluster/commands/get.py
  17. +0 −2 starcluster/commands/help.py
  18. +0 −2 starcluster/commands/listbuckets.py
  19. +0 −2 starcluster/commands/listclusters.py
  20. +0 −2 starcluster/commands/listimages.py
  21. +0 −2 starcluster/commands/listinstances.py
  22. +0 −2 starcluster/commands/listkeypairs.py
  23. +0 −2 starcluster/commands/listpublic.py
  24. +0 −2 starcluster/commands/listregions.py
  25. +0 −2 starcluster/commands/listspots.py
  26. +0 −2 starcluster/commands/listvolumes.py
  27. +0 −2 starcluster/commands/listzones.py
  28. +0 −2 starcluster/commands/loadbalance.py
  29. +0 −1 starcluster/commands/put.py
  30. +0 −2 starcluster/commands/removeimage.py
  31. +0 −2 starcluster/commands/removekey.py
  32. +0 −2 starcluster/commands/removenode.py
  33. +0 −2 starcluster/commands/removevolume.py
  34. +0 −1 starcluster/commands/resizevolume.py
  35. +0 −2 starcluster/commands/restart.py
  36. +0 −2 starcluster/commands/runplugin.py
  37. +0 −1 starcluster/commands/s3image.py
  38. +0 −1 starcluster/commands/shell.py
  39. +0 −2 starcluster/commands/showbucket.py
  40. +0 −2 starcluster/commands/showconsole.py
  41. +0 −2 starcluster/commands/showimage.py
  42. +0 −2 starcluster/commands/spothistory.py
  43. +0 −1 starcluster/commands/sshinstance.py
  44. +0 −1 starcluster/commands/sshmaster.py
  45. +0 −1 starcluster/commands/sshnode.py
  46. +0 −2 starcluster/commands/start.py
  47. +0 −2 starcluster/commands/stop.py
  48. +0 −2 starcluster/commands/terminate.py
  49. +0 −1 starcluster/config.py
  50. +0 −1 starcluster/exception.py
  51. +0 −1 starcluster/image.py
  52. +0 −1 starcluster/iptools.py
  53. +0 −1 starcluster/logger.py
  54. +0 −3 starcluster/managers.py
  55. +0 −1 starcluster/node.py
  56. +0 −1 starcluster/plugins/__init__.py
  57. +0 −1 starcluster/plugins/ipcluster.py
  58. +0 −2 starcluster/plugins/tmux.py
  59. +0 −1 starcluster/spinner.py
  60. +0 −1 starcluster/static.py
  61. +0 −1 starcluster/templates/__init__.py
  62. +0 −1 starcluster/templates/config.py
  63. +0 −2 starcluster/templates/sge.py
  64. +0 −2 starcluster/templates/user_msgs.py
  65. +0 −1 starcluster/tests/__init__.py
  66. +0 −1 starcluster/tests/mytestplugin.py
  67. +0 −2 starcluster/tests/templates/config.py
  68. +0 −1 starcluster/tests/templates/sge_balancer.py
  69. +0 −1 starcluster/tests/test_cluster_validation.py
  70. +0 −1 starcluster/tests/test_config.py
  71. +0 −2 starcluster/tests/test_sge_balancer.py
  72. +0 −2 starcluster/tests/test_threadpool.py
  73. +0 −1 starcluster/threadpool.py
  74. +0 −1 starcluster/utils.py
  75. +0 −1 starcluster/volume.py
  76. +0 −1 starcluster/webtools.py
View
1 starcluster/awsutils.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
"""
EC2/S3 Utility Classes
"""
View
3 starcluster/balancers/__init__.py
@@ -1,6 +1,3 @@
-#!/usr/bin/env python
-
-
class LoadBalancer(object):
"""
Base class for all load balancers
View
1 starcluster/balancers/sge/__init__.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
import os
import time
import datetime
View
1 starcluster/balancers/sge/visualizer.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
"""
StarCluster SunGrinEngine stats visualizer module
"""
View
1 starcluster/cli.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
"""
StarCluster Command Line Interface:
View
1 starcluster/cluster.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
import os
import re
import time
View
2 starcluster/clustersetup.py
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
"""
clustersetup.py
"""
View
1 starcluster/commands/__init__.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
from start import CmdStart
from addnode import CmdAddNode
from removenode import CmdRemoveNode
View
2 starcluster/commands/addnode.py
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
from completers import ClusterCompleter
View
2 starcluster/commands/base.py
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
import os
import sys
import time
View
2 starcluster/commands/completers.py
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
from starcluster import optcomplete
from starcluster.logger import log
View
2 starcluster/commands/createkey.py
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
from starcluster.logger import log
from base import CmdBase
View
1 starcluster/commands/createvolume.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
import os
from starcluster import node
View
2 starcluster/commands/downloadimage.py
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
from starcluster.logger import log
from completers import S3ImageCompleter
View
2 starcluster/commands/ebsimage.py
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
import time
from starcluster import exception
View
1 starcluster/commands/get.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
import glob
from starcluster import exception
View
2 starcluster/commands/help.py
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
import optparse
from base import CmdBase
View
2 starcluster/commands/listbuckets.py
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
from base import CmdBase
View
2 starcluster/commands/listclusters.py
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
from completers import ClusterCompleter
View
2 starcluster/commands/listimages.py
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
from base import CmdBase
View
2 starcluster/commands/listinstances.py
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
from base import CmdBase
View
2 starcluster/commands/listkeypairs.py
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
from base import CmdBase
View
2 starcluster/commands/listpublic.py
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
from base import CmdBase
View
2 starcluster/commands/listregions.py
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
from base import CmdBase
View
2 starcluster/commands/listspots.py
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
from base import CmdBase
View
2 starcluster/commands/listvolumes.py
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
from starcluster import static
from base import CmdBase
View
2 starcluster/commands/listzones.py
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
from base import CmdBase
View
2 starcluster/commands/loadbalance.py
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
from starcluster import exception
from starcluster.balancers import sge
View
1 starcluster/commands/put.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
import os
from starcluster import exception
View
2 starcluster/commands/removeimage.py
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
from starcluster.logger import log
from completers import ImageCompleter
View
2 starcluster/commands/removekey.py
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
from starcluster.logger import log
from base import CmdBase
View
2 starcluster/commands/removenode.py
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
from completers import ClusterCompleter
View
2 starcluster/commands/removevolume.py
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
from starcluster.logger import log
from completers import VolumeCompleter
View
1 starcluster/commands/resizevolume.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
from starcluster import node
from starcluster import volume
from starcluster import static
View
2 starcluster/commands/restart.py
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
from completers import ClusterCompleter
View
2 starcluster/commands/runplugin.py
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
from base import CmdBase
View
1 starcluster/commands/s3image.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
import sys
import time
import warnings
View
1 starcluster/commands/shell.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
import sys
import starcluster
View
2 starcluster/commands/showbucket.py
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
from base import CmdBase
View
2 starcluster/commands/showconsole.py
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
from completers import InstanceCompleter
View
2 starcluster/commands/showimage.py
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
from completers import S3ImageCompleter
View
2 starcluster/commands/spothistory.py
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
from datetime import datetime, timedelta
from starcluster import utils
View
1 starcluster/commands/sshinstance.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
import sys
from completers import InstanceCompleter
View
1 starcluster/commands/sshmaster.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
import sys
from completers import ClusterCompleter
View
1 starcluster/commands/sshnode.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
import sys
from completers import NodeCompleter
View
2 starcluster/commands/start.py
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
import time
from starcluster import static
View
2 starcluster/commands/stop.py
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
from starcluster.logger import log
from starcluster import exception
View
2 starcluster/commands/terminate.py
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
from starcluster import exception
from starcluster.logger import log
View
1 starcluster/config.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
import os
import urllib
import StringIO
View
1 starcluster/exception.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
"""
StarCluster Exception Classes
"""
View
1 starcluster/image.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
import os
import time
import string
View
1 starcluster/iptools.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (c) 2008-2010, Bryan Davis
View
1 starcluster/logger.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
"""
StarCluster logging module
"""
View
3 starcluster/managers.py
@@ -1,6 +1,3 @@
-#!/usr/bin/env python
-
-
class Manager(object):
"""
Base class for all Manager classes in StarCluster
View
1 starcluster/node.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
import os
import pwd
import grp
View
1 starcluster/plugins/__init__.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
__all__ = [
'ipcluster',
]
View
1 starcluster/plugins/ipcluster.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
import posixpath
from starcluster.clustersetup import ClusterSetup
View
2 starcluster/plugins/tmux.py
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
from starcluster import utils
from starcluster import exception
from starcluster import clustersetup
View
1 starcluster/spinner.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
import sys
import time
from threading import Thread
View
1 starcluster/static.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
"""
Module for storing static data structures
"""
View
1 starcluster/templates/__init__.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
import jinja2
import pkg_resources
View
1 starcluster/templates/config.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
from starcluster import static
config_template = """\
View
2 starcluster/templates/sge.py
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
sgeinstall_template = """
SGE_CLUSTER_NAME="starcluster"
SGE_ROOT="/opt/sge6"
View
2 starcluster/templates/user_msgs.py
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
active_ebs_cluster = """EBS Cluster '%(cluster_name)s' already exists.
Either choose a different tag name, or stop the EBS cluster using:
View
1 starcluster/tests/__init__.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
import unittest
import tempfile
View
1 starcluster/tests/mytestplugin.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
from starcluster.logger import log
from starcluster.clustersetup import ClusterSetup
View
2 starcluster/tests/templates/config.py
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
default_config = {
'default': 'smallcluster',
'enable_experimental': 'False',
View
1 starcluster/tests/templates/sge_balancer.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
qhost_xml = """<?xml version='1.0'?>
<qhost xmlns:xsd="http://gridengine.sunsource.net/source/browse/*checkout*/\
gridengine/source/dist/util/resources/schemas/qhost/qhost.xsd?revision=1.2">
View
1 starcluster/tests/test_cluster_validation.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
import os
import tempfile
View
1 starcluster/tests/test_config.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
import os
import copy
import tempfile
View
2 starcluster/tests/test_sge_balancer.py
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
import datetime
from starcluster.balancers import sge
View
2 starcluster/tests/test_threadpool.py
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
import logging
import tempfile
logging.disable(logging.WARN)
View
1 starcluster/threadpool.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
"""
ThreadPool module for StarCluster based on WorkerPool
"""
View
1 starcluster/utils.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
"""
Utils module for StarCluster
"""
View
1 starcluster/volume.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
import time
import string
View
1 starcluster/webtools.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
import os
import sys
import shlex

0 comments on commit 81520e5

Please sign in to comment.