/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/plugin.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2020-06-11 16:46:46 UTC
  • mfrom: (7512.1.1 drop-travis-appveyor)
  • Revision ID: breezy.the.bot@gmail.com-20200611164646-w4tufva3jchfv1mn
Drop appveyor + travis configuration.

Merged from https://code.launchpad.net/~jelmer/brz/drop-travis-appveyor/+merge/385578

Show diffs side-by-side

added added

removed removed

Lines of Context:
189
189
def _env_disable_plugins(key='BRZ_DISABLE_PLUGINS'):
190
190
    """Gives list of names for plugins to disable from environ key."""
191
191
    disabled_names = []
192
 
    env = osutils.path_from_environ(key)
 
192
    env = os.environ.get(key)
193
193
    if env:
194
194
        for name in env.split(os.pathsep):
195
195
            name = _expect_identifier(name, key, env)
201
201
def _env_plugins_at(key='BRZ_PLUGINS_AT'):
202
202
    """Gives list of names and paths of specific plugins from environ key."""
203
203
    plugin_details = []
204
 
    env = osutils.path_from_environ(key)
 
204
    env = os.environ.get(key)
205
205
    if env:
206
206
        for pair in env.split(os.pathsep):
207
207
            if '@' in pair:
222
222
    'path', or None and one of the values 'user', 'core', 'entrypoints', 'site'.
223
223
    """
224
224
    path_details = []
225
 
    env = osutils.path_from_environ(key)
 
225
    env = os.environ.get(key)
226
226
    defaults = {
227
227
        "user": not env,
228
228
        "core": True,