# coding: utf-8

import os
import sys

sys.path.insert(0, 'libx')

if os.environ.get('SERVER_SOFTWARE', '').startswith('Google App Engine'):
  sys.path.insert(0, 'lib.zip')
else:
  import re
  from google.appengine.tools.devappserver2.python import stubs
  re_ = stubs.FakeFile._skip_files.pattern.replace('|^lib/.*', '')
  re_ = re.compile(re_)
  stubs.FakeFile._skip_files = re_
  sys.path.insert(0, 'lib')
sys.path.insert(0, 'libx')

@@ -36,35 +36,8 @@
 ys%0A%0A
-sys.path.insert(0, 'libx')%0A
 %0Aif 

Remove duplicate libx path insertion