Skip to content

Commit

Permalink
make sure we only have names for actual signals and not other constants
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@6203 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Apr 27, 2014
1 parent 504bb0d commit 05cdc15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xpra/os_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@


SIGNAMES = {}
for x in [x for x in dir(signal) if x.startswith("SIG")]:
for x in [x for x in dir(signal) if x.startswith("SIG") and not x.startswith("SIG_")]:
SIGNAMES[getattr(signal, x)] = x


Expand Down

0 comments on commit 05cdc15

Please sign in to comment.