diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..bd534fa --- /dev/null +++ b/.travis.yml @@ -0,0 +1,20 @@ +language: python + +python: + - 2.6 + - 2.7 + - 3.2 + - 3.3 + - 3.4 + - pypy + +install: + - pip install sqlalchemy + - pip install nose-cov + - pip install pam + - pip install requests + - pip install dulwich + +script: nosetests + +sudo: false diff --git a/radicale/xmlutils.py b/radicale/xmlutils.py index ff4d88e..05767ce 100644 --- a/radicale/xmlutils.py +++ b/radicale/xmlutils.py @@ -575,7 +575,7 @@ def _item_response(href, found_props=(), not_found_props=(), found_item=True): propstat = ET.Element(_tag("D", "propstat")) status = ET.Element(_tag("D", "status")) status.text = _response(404) - prop = ET.Element(_Tag("D", "prop")) + prop = ET.Element(_tag("D", "prop")) for p in not_found_props: prop.append(p) propstat.append(prop)