from pelicanconf import *

# Over-ride so there is paging.
DEFAULT_PAGINATION = 5

import sys
# Hack for Travis, where local imports don't work.
if '' not in sys.path:
    sys.path.insert(0, '')

from pelicanconf import *

# Over-ride so there is paging.
DEFAULT_PAGINATION = 5

Fix Python import path on Travis.
Fix Python import path on Travis.

+ import sys
+ # Hack for Travis, where local imports don't work.
+ if '' not in sys.path:
+     sys.path.insert(0, '')
+ 
  from pelicanconf import *
  
  # Over-ride so there is paging.
  DEFAULT_PAGINATION = 5
  
Fix Python import path on Travis.
## Code Before:
from pelicanconf import *

# Over-ride so there is paging.
DEFAULT_PAGINATION = 5

## Instruction:
Fix Python import path on Travis.
## Code After:
import sys
# Hack for Travis, where local imports don't work.
if '' not in sys.path:
    sys.path.insert(0, '')

from pelicanconf import *

# Over-ride so there is paging.
DEFAULT_PAGINATION = 5
