rename project file module

This commit is contained in:
Alan Hamlett 2017-11-04 11:04:43 -07:00
parent ef637fd99b
commit 06b8fa2b7c
2 changed files with 5 additions and 5 deletions

View file

@ -13,9 +13,9 @@ import logging
from .projects.git import Git from .projects.git import Git
from .projects.mercurial import Mercurial from .projects.mercurial import Mercurial
from .projects.projectfile import ProjectFile
from .projects.projectmap import ProjectMap from .projects.projectmap import ProjectMap
from .projects.subversion import Subversion from .projects.subversion import Subversion
from .projects.wakatime_project_file import WakaTimeProjectFile
log = logging.getLogger('WakaTime') log = logging.getLogger('WakaTime')
@ -23,7 +23,7 @@ log = logging.getLogger('WakaTime')
# List of plugin classes to find a project for the current file path. # List of plugin classes to find a project for the current file path.
CONFIG_PLUGINS = [ CONFIG_PLUGINS = [
WakaTimeProjectFile, ProjectFile,
ProjectMap, ProjectMap,
] ]
REV_CONTROL_PLUGINS = [ REV_CONTROL_PLUGINS = [

View file

@ -1,7 +1,7 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
""" """
wakatime.projects.wakatime_project_file wakatime.projects.projectfile
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Information from a .wakatime-project file about the project for Information from a .wakatime-project file about the project for
a given file. First line of .wakatime-project sets the project a given file. First line of .wakatime-project sets the project
@ -22,7 +22,7 @@ from ..compat import u, open
log = logging.getLogger('WakaTime') log = logging.getLogger('WakaTime')
class WakaTimeProjectFile(BaseProject): class ProjectFile(BaseProject):
def process(self): def process(self):
self.config = self._find_config(self.path) self.config = self._find_config(self.path)