Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
agent
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
7
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
6f8ffbbc
authored
Jul 27, 2014
by
Őry Máté
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
notify: fix os.environ handling
parent
d24ba1e7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
notify.py
+4
-0
No files found.
notify.py
View file @
6f8ffbbc
...
...
@@ -104,7 +104,11 @@ def notify(url):
if
display
:
webbrowser
.
open
(
url
,
new
=
2
,
autoraise
=
True
)
finally
:
if
olddisplay
:
os
.
environ
[
"DISPLAY"
]
=
olddisplay
elif
'DISPLAY'
in
os
.
environ
:
del
os
.
environ
[
"DISPLAY"
]
def
file_already_exists
(
name
,
mode
=
0644
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment