Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files

Base the principalURL value on the principal's UID.

  • Loading branch information
m0rgen committed Jun 18, 2010
1 parent a45a5d9 commit 9202eadc8995424503001dfe4e81814aae8b50ec
Showing with 2 additions and 1 deletion.
  1. +2 −1 twistedcaldav/directory/
@@ -527,10 +527,11 @@ def __init__(self, parent, record):

assert record is not None, "Principal must have a directory record"

url = joinURL(parent.principalCollectionURL(), record.guid) + slash

self.record = record
self.parent = parent

url = joinURL(parent.principalCollectionURL(), self.principalUID()) + slash
self._url = url

self._alternate_urls = tuple([

0 comments on commit 9202ead

Please sign in to comment.
You can’t perform that action at this time.