FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[Original HTTPS Page]
Remove __file__ from alias launch scripts to allow users that assume … · python/pymanager@6350dd2 · GitHub
python
pymanager
Repository navigation
Code
Issues
24
(24)
Pull requests
6
(6)
Actions
Security and quality
1
(1)
Insights
Commit
6350dd2
Browse files
Browse the repository at this point in the history
Browse files
zooba
authored
Remove __file__ from alias launch scripts to allow users that assume a string to work. (
#416
)
Fixes
#412
1 parent
fe0d239
commit
6350dd2
Copy full SHA for 6350dd2
1 file changed
+1
-1
Lines changed: 1 addition & 1 deletion
File tree
Expand file tree
Collapse file tree
Open diff view settings
Filter options
src/manage
aliasutils.py
Expand file tree
Collapse file tree
Open diff view settings
Collapse file
src/manage/aliasutils.py
Copy file name to clipboard
Expand all lines: src/manage/aliasutils.py
+1
-1
Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@
23
23
24
24
# Avoid letting __main__.__file__ lead back to this script
25
25
try:
26
-
__file__ = None
26
+
del __file__
27
27
except Exception:
28
28
pass
29
29
0 commit comments
Comments
0
(0)
Back
|
FazBrowse Home
|
New Git URL
0 commit comments