Print error message to stderr (Fix bug 5731)
As stdout is redirected to /dev/null by some DMs, we need to print error messages to stderr.
This commit is contained in:
parent
65693d18db
commit
c6997ba19e
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ try:
|
|||
from xdg.Exceptions import ParsingError
|
||||
except ImportError:
|
||||
print
|
||||
print "ERROR:", ME, "requires PyXDG to be installed"
|
||||
print >>sys.stderr, "ERROR:", ME, "requires PyXDG to be installed"
|
||||
print
|
||||
sys.exit(1)
|
||||
|
||||
|
|
Loading…
Reference in a new issue