diff --git a/Framework/Geometry/inc/MantidGeometry/Instrument/DetectorInfoIterator.h b/Framework/Geometry/inc/MantidGeometry/Instrument/DetectorInfoIterator.h
index 445143f0ef98884d077d07db0029e88cf1713292..0883d9e595ae4f5f2f826c8190c5063bc0915d31 100644
--- a/Framework/Geometry/inc/MantidGeometry/Instrument/DetectorInfoIterator.h
+++ b/Framework/Geometry/inc/MantidGeometry/Instrument/DetectorInfoIterator.h
@@ -79,7 +79,7 @@ private:
       --m_item.m_index;
     }
   }
-  
+
   size_t getIndex() const { return m_item.m_index; }
 
   void setIndex(const size_t index) { m_item.m_index = index; }
diff --git a/Framework/PythonInterface/mantid/geometry/src/Exports/DetectorInfoIterator.cpp b/Framework/PythonInterface/mantid/geometry/src/Exports/DetectorInfoIterator.cpp
index 682626794a4041a809d431eab56788024f7c770e..bbca279809c4b864391f8903559669708a0a2f08 100644
--- a/Framework/PythonInterface/mantid/geometry/src/Exports/DetectorInfoIterator.cpp
+++ b/Framework/PythonInterface/mantid/geometry/src/Exports/DetectorInfoIterator.cpp
@@ -10,6 +10,5 @@ using namespace boost::python;
 void export_DetectorInfoIterator() {
 
   // Export to Python
-  class_<DetectorInfoIterator>("DetectorInfoIterator",
-                                                   no_init);
+  class_<DetectorInfoIterator>("DetectorInfoIterator", no_init);
 }