File: foo.py

package info (click to toggle)
logilab-common 2.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,200 kB
  • sloc: python: 11,129; makefile: 42
file content (7 lines) | stat: -rw-r--r-- 171 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
import sys

if not getattr(sys, "bar", None):
    sys.just_once = []
# there used to be two numbers here because
# of a load_module_from_path bug
sys.just_once.append(42)