From 2107c58d32f16a921110612ac851c50d396e45b7 Mon Sep 17 00:00:00 2001 From: checktheroads Date: Mon, 13 May 2019 12:48:25 -0700 Subject: [PATCH] added shebangs --- hyperglass/__init__.py | 1 + hyperglass/command/__init__.py | 1 + hyperglass/command/construct.py | 1 + hyperglass/command/execute.py | 2 ++ hyperglass/command/parse.py | 1 + hyperglass/configuration/__init__.py | 1 + hyperglass/hyperglass.py | 2 ++ hyperglass/render/__init__.py | 1 + hyperglass/wsgi.py | 1 + manage.py | 1 + 10 files changed, 12 insertions(+) diff --git a/hyperglass/__init__.py b/hyperglass/__init__.py index e69de29..e5a0d9b 100644 --- a/hyperglass/__init__.py +++ b/hyperglass/__init__.py @@ -0,0 +1 @@ +#!/usr/bin/env python3 diff --git a/hyperglass/command/__init__.py b/hyperglass/command/__init__.py index f853070..12bb51f 100644 --- a/hyperglass/command/__init__.py +++ b/hyperglass/command/__init__.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 from hyperglass.command import execute from hyperglass.command import construct from hyperglass.command import parse diff --git a/hyperglass/command/construct.py b/hyperglass/command/construct.py index 9c472b8..a151a4b 100644 --- a/hyperglass/command/construct.py +++ b/hyperglass/command/construct.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 import re import sys import toml diff --git a/hyperglass/command/execute.py b/hyperglass/command/execute.py index 523f756..3f7f8c4 100644 --- a/hyperglass/command/execute.py +++ b/hyperglass/command/execute.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + import sys import time from netaddr import * diff --git a/hyperglass/command/parse.py b/hyperglass/command/parse.py index e7a54ea..3447b2d 100644 --- a/hyperglass/command/parse.py +++ b/hyperglass/command/parse.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 def parse(output, type, cmd): """Splits Cisco IOS BGP output by AFI, returns only IPv4 & IPv6 output for protocol-agnostic commands (Community & AS_PATH Lookups)""" try: diff --git a/hyperglass/configuration/__init__.py b/hyperglass/configuration/__init__.py index e94130e..5f36be5 100644 --- a/hyperglass/configuration/__init__.py +++ b/hyperglass/configuration/__init__.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 import os import math import toml diff --git a/hyperglass/hyperglass.py b/hyperglass/hyperglass.py index 56228ae..9734e00 100644 --- a/hyperglass/hyperglass.py +++ b/hyperglass/hyperglass.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + # Module Imports import sys import json diff --git a/hyperglass/render/__init__.py b/hyperglass/render/__init__.py index 65d3ab1..4a64df5 100644 --- a/hyperglass/render/__init__.py +++ b/hyperglass/render/__init__.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 import os import sass import codecs diff --git a/hyperglass/wsgi.py b/hyperglass/wsgi.py index 964a643..0782ec1 100644 --- a/hyperglass/wsgi.py +++ b/hyperglass/wsgi.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 import os import hyperglass from hyperglass.hyperglass import app diff --git a/manage.py b/manage.py index 71e569c..e0b537c 100644 --- a/manage.py +++ b/manage.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 import os import sys import click