  from twisted.web2 import responsecode
  from twisted.web2.http import HTTPError, StatusResponse
  from twisted.web2.dav import davxml
-@@ -66,16 +72,8 @@
+@@ -66,16 +73,8 @@
          deadPropertyXattrPrefix = "user."
  
      def _encode(clazz, name):

+            else:
+                break
+    
 
         # Update the resource because we've modified it
         self.resource.fp.restat()

===================================================================
--- twisted/web2/dav/xattrprops.py	(revision 19773)
+++ twisted/web2/dav/xattrprops.py	(working copy)
@@ -33,12 +33,19 @@
 
 import urllib
 import sys
