diff --git a/doc/source/conf.py b/doc/source/conf.py
index ca149f56..a82c1ed4 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -15,6 +15,9 @@
 import sys
 import os
 
+import swiftclient
+
+
 # If extensions (or modules to document with autodoc) are in another directory,
 # add these directories to sys.path here. If the directory is relative to the
 # documentation root, use os.path.abspath to make it absolute, like shown here.
@@ -25,7 +28,6 @@ ROOT = os.path.abspath(os.path.join(BASE_DIR, "..", ".."))
 
 sys.path.insert(0, ROOT)
 
-import swiftclient
 
 # -- General configuration ----------------------------------------------------
 
@@ -184,8 +186,8 @@ htmlhelp_basename = 'SwiftClientwebdoc'
 # Grouping the document tree into LaTeX files. List of tuples
 # (source start file, target name, title, author, documentclass [howto/manual])
 latex_documents = [
-  ('index', 'SwiftClient.tex', u'SwiftClient Documentation',
-   u'OpenStack, LLC.', 'manual'),
+    ('index', 'SwiftClient.tex', u'SwiftClient Documentation',
+     u'OpenStack, LLC.', 'manual'),
 ]
 
 # The name of an image file (relative to this directory) to place at the top of