diff --git a/Framework/PythonInterface/mantid/api/src/Exports/Sample.cpp b/Framework/PythonInterface/mantid/api/src/Exports/Sample.cpp
index 4c160a4329ff1510f008a7cda8151886e4405065..51debe18e2ecaea78206dbd9aac9187db22f45c6 100644
--- a/Framework/PythonInterface/mantid/api/src/Exports/Sample.cpp
+++ b/Framework/PythonInterface/mantid/api/src/Exports/Sample.cpp
@@ -27,8 +27,9 @@ void export_Sample() {
       .def("getName", &Sample::getName,
            return_value_policy<copy_const_reference>(), arg("self"),
            "Returns the string name of the sample")
-      .def("getOrientedLattice", (const OrientedLattice &(Sample::*)() const) &
-                                     Sample::getOrientedLattice,
+      .def("getOrientedLattice",
+           (const OrientedLattice &(Sample::*)() const) &
+               Sample::getOrientedLattice,
            arg("self"), return_value_policy<reference_existing_object>(),
            "Get the oriented lattice for this sample")
       .def("hasOrientedLattice", &Sample::hasOrientedLattice, arg("self"),
@@ -73,6 +74,6 @@ void export_Sample() {
       // -------------------------------------
       .def("__len__", &Sample::size, arg("self"),
            "Gets the number of samples in this collection")
-      .def("__getitem__", &Sample::operator[], (arg("self"), arg("index")),
+      .def("__getitem__", &Sample::operator[],(arg("self"), arg("index")),
            return_internal_reference<>());
 }