Back to index

system-config-printer  1.3.9+20120706
Classes | Functions
smburi Namespace Reference

Classes

class  SMBURI

Functions

def urlquote

Function Documentation

def smburi.urlquote (   x)

Definition at line 25 of file smburi.py.

00025 
00026 def urlquote (x):
00027     q = urllib.quote (x)
00028     for c in ["/", "@", ":"]:
00029         q = q.replace (c, "%%%02X" % ord (c))
00030 
00031     return q