Jelajahi Sumber

Merge branch 'master' of github.com:Kozea/radicale

Guillaume Ayoub 10 tahun lalu
induk
melakukan
22a356bd06
2 mengubah file dengan 21 tambahan dan 1 penghapusan
  1. 20 0
      .travis.yml
  2. 1 1
      radicale/xmlutils.py

+ 20 - 0
.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

+ 1 - 1
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)