Skip to content

anonymous /the_stripper.py

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
def prestring(string=None):
'''
@summary: function to remove leading & trailing white spaces
'''
if string:
return string.lstrip().rstrip()
else:
return u''
c.faxno = u'+%s %s %s' % (prestring(faxnumbers.telecomcountrycode).replace(u' ', ''),
prestring(faxnumbers.areacitycode).replace(u' ', ''),
prestring(faxnumbers.subscribernumber).replace(u' ', ''))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.