aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin/glx/reg.py
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/hw/xwin/glx/reg.py')
-rw-r--r--xorg-server/hw/xwin/glx/reg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/hw/xwin/glx/reg.py b/xorg-server/hw/xwin/glx/reg.py
index 2aeecc8d1..37b9a8cb1 100644
--- a/xorg-server/hw/xwin/glx/reg.py
+++ b/xorg-server/hw/xwin/glx/reg.py
@@ -28,7 +28,7 @@ from lxml import etree
# Used in converting lxml Elements into text.
# str - string to convert
def noneStr(str):
- if (str!=None):
+ if (str):
return str
else:
return ""