Skip to content

Commit

Permalink
python3 has no unicode builtin
Browse files Browse the repository at this point in the history
  • Loading branch information
eddy-geek committed Jan 2, 2015
1 parent b57555d commit d126b5d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pyexchange/exchange2010/soap_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
from lxml.builder import ElementMaker
from ..utils import convert_datetime_to_utc

import sys
if sys.version_info[0] == 3:
unicode = str

MSG_NS = u'http://schemas.microsoft.com/exchange/services/2006/messages'
TYPE_NS = u'http://schemas.microsoft.com/exchange/services/2006/types'
SOAP_NS = u'http://schemas.xmlsoap.org/soap/envelope/'
Expand Down

0 comments on commit d126b5d

Please sign in to comment.