def __init__(self, build_env, src_paths, *args, **kwargs):
    self.build_env = build_env
    self.src_paths = list(src_paths)
    self.dep_files = {}
    self._provide_map = {}
    self.base_dep_file = None
    self.base_js_path = None

    # Scan all files
    for src_path in self.src_paths:
      dep_file = JsDependencyFile(src_path)
      self.dep_files[src_path] = dep_file
      if dep_file.is_base_js:
        self.base_dep_file = dep_file
        self.base_js_path = os.path.dirname(dep_file.src_path)
      for provide in dep_file.provides:
        assert not provide in self._provide_map
        self._provide_map[provide] = dep_file
Test rfc2822_date() correctly formats datetime objects.
dataset/ETHPy150Open google/anvil-build/anvil/rules/closure_js_rules.py/JsDependencyGraph.__init__--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/tests/regressiontests/utils/feedgenerator.py/FeedgeneratorTest.test_rfc2822_date