File: __init__.py

package info (click to toggle)
python-debian 0.1.18%2Bsqueeze1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 616 kB
  • ctags: 642
  • sloc: python: 4,141; makefile: 49
file content (9 lines) | stat: -rw-r--r-- 276 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
import os
import warnings

warnings.warn("please use 'debian' instead of 'debian_bundle'",
              DeprecationWarning, stacklevel=2)

# Support "from debian_bundle import foo"
parent_dir = os.path.dirname(__path__[0])
__path__.append(os.path.join(parent_dir, "debian"))