def MakeHash(self):
    if not self.loc:
      return None
    if self.loc.endswith('/'):
      return md5.new(self.loc[:-1]).digest()
    return md5.new(self.loc).digest()
  #end def MakeHash
Provides a uniform way of hashing URLs
dataset/ETHPy150Open benoitc/restkit/doc/sitemap_gen.py/URL.MakeHash