Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fixed the imports of the files in /socli directory to work for both python2.7 and python3 * Fixed the imports by adding the file directory in sys.path for the modules in /socli folder * Fixed the imports of the files in /socli directory by adding the file directory in sys.path. Now it works for both versions python2 and python3 * Fixed the imports of the files in /socli directory by adding the file… * Deleted the .vscode directory
- Loading branch information
1 parent
b785e56
commit 79f128b
Showing
8 changed files
with
94 additions
and
63 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 @@ | ||
Requirement already satisfied: setuptools in /usr/lib/python2.7/dist-packages (20.7.0) |
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 |
---|---|---|
@@ -1,4 +1,9 @@ | ||
from socli.socli import main | ||
import sys | ||
import os | ||
|
||
BASE_DIR = os.path.dirname(os.path.realpath(__file__)) | ||
sys.path = [BASE_DIR] + sys.path | ||
from socli import main | ||
|
||
if __name__ == '__main__': | ||
main() |
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 |
---|---|---|
|
@@ -3,7 +3,8 @@ | |
""" | ||
import argparse | ||
import textwrap | ||
|
||
import sys | ||
import os | ||
|
||
def parse_arguments(command): | ||
""" | ||
|
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 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 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 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 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