Index: twisted/web2/static.py
===================================================================
--- twisted/web2/static.py	(revision 19773)
+++ twisted/web2/static.py	(working copy)
@@ -200,7 +200,10 @@
         super(File, self).__init__()
 
         self.putChildren = {}
-        self.fp = filepath.FilePath(path)
+        if isinstance(path, FilePath):
+            self.fp = path
+        else:
+            self.fp = filepath.FilePath(path)
         # Remove the dots from the path to split
         self.defaultType = defaultType
         self.ignoredExts = list(ignoredExts)

Index: twisted/web2/static.py
===================================================================
--- twisted/web2/static.py	(revision 19773)
+++ twisted/web2/static.py	(working copy)
@@ -200,7 +200,10 @@
         super(File, self).__init__()
 
         self.putChildren = {}
-        self.fp = filepath.FilePath(path)
+        if isinstance(path, filepath.FilePath):
+            self.fp = path
+        else:
+            self.fp = filepath.FilePath(path)
         # Remove the dots from the path to split
         self.defaultType = defaultType
         self.ignoredExts = list(ignoredExts)

Fix for bug introduced in r2563.
Fix for bug introduced in r2563.

git-svn-id: 81e381228600e5752b80483efd2b45b26c451ea2@2570 e27351fd-9f3e-4f54-a53b-843176b1656c
