Skip to content

Commit

Permalink
Added Shebang to missing files
Browse files Browse the repository at this point in the history
* added Shebang to existing module files
  • Loading branch information
AliMuhammadOfficial authored Dec 20, 2021
1 parent 54189f8 commit b8ced0a
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 7 deletions.
1 change: 1 addition & 0 deletions src/opera/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env python3
#
# Copyright 2021, by the California Institute of Technology.
# ALL RIGHTS RESERVED.
Expand Down
1 change: 1 addition & 0 deletions src/opera/pge/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env python3
#
# Copyright 2021, by the California Institute of Technology.
# ALL RIGHTS RESERVED.
Expand Down
1 change: 1 addition & 0 deletions src/opera/pge/base_pge.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env python3
#
# Copyright 2021, by the California Institute of Technology.
# ALL RIGHTS RESERVED.
Expand Down
1 change: 1 addition & 0 deletions src/opera/pge/dswx_pge.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env python3
#
# Copyright 2021, by the California Institute of Technology.
# ALL RIGHTS RESERVED.
Expand Down
1 change: 1 addition & 0 deletions src/opera/pge/runconfig.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env python3
#
# Copyright 2021, by the California Institute of Technology.
# ALL RIGHTS RESERVED.
Expand Down
1 change: 1 addition & 0 deletions src/opera/test/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env python3
#
# Copyright 2021, by the California Institute of Technology.
# ALL RIGHTS RESERVED.
Expand Down
3 changes: 1 addition & 2 deletions src/opera/test/pge/test_base_pge.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python

#!/usr/bin/env python3
#
# Copyright 2021, by the California Institute of Technology.
# ALL RIGHTS RESERVED.
Expand Down
3 changes: 1 addition & 2 deletions src/opera/test/pge/test_dswx_pge.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python

#!/usr/bin/env python3
#
# Copyright 2021, by the California Institute of Technology.
# ALL RIGHTS RESERVED.
Expand Down
3 changes: 1 addition & 2 deletions src/opera/test/pge/test_runconfig.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python

#!/usr/bin/env python3
#
# Copyright 2021, by the California Institute of Technology.
# ALL RIGHTS RESERVED.
Expand Down
1 change: 1 addition & 0 deletions src/opera/util/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env python3
#
# Copyright 2021, by the California Institute of Technology.
# ALL RIGHTS RESERVED.
Expand Down
1 change: 1 addition & 0 deletions src/opera/util/error_codes.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env python3
#
# Copyright 2021, by the California Institute of Technology.
# ALL RIGHTS RESERVED.
Expand Down
2 changes: 1 addition & 1 deletion src/opera/util/logger.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env python3
#
# Copyright 2021, by the California Institute of Technology.
# ALL RIGHTS RESERVED.
Expand Down Expand Up @@ -70,7 +71,6 @@ def write(log_stream, severity, workflow, module, error_code, error_location,

log_stream.write(message_str)


def default_log_file_name():
"""
Returns a path + filename that can be used for the log file right away.
Expand Down
1 change: 1 addition & 0 deletions src/opera/util/run_utils.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env python3
#
# Copyright 2021, by the California Institute of Technology.
# ALL RIGHTS RESERVED.
Expand Down
1 change: 1 addition & 0 deletions src/opera/util/time.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env python3
#
# Copyright 2021, by the California Institute of Technology.
# ALL RIGHTS RESERVED.
Expand Down
1 change: 1 addition & 0 deletions src/opera/util/usage_metrics.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env python3
#
# Copyright 2021, by the California Institute of Technology.
# ALL RIGHTS RESERVED.
Expand Down

0 comments on commit b8ced0a

Please sign in to comment.