mirror of
https://github.com/beetbox/beets.git
synced 2026-02-23 07:44:38 +01:00
Tiny formatting tweaks (#1054)
This commit is contained in:
parent
1ce5efeda1
commit
256a3b4055
1 changed files with 16 additions and 2 deletions
|
|
@ -1,4 +1,18 @@
|
|||
"""Tests for the 'importadded' plugin."""
|
||||
# This file is part of beets.
|
||||
# Copyright 2014, Stig Inge Lea Bjornsen.
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining
|
||||
# a copy of this software and associated documentation files (the
|
||||
# "Software"), to deal in the Software without restriction, including
|
||||
# without limitation the rights to use, copy, modify, merge, publish,
|
||||
# distribute, sublicense, and/or sell copies of the Software, and to
|
||||
# permit persons to whom the Software is furnished to do so, subject to
|
||||
# the following conditions:
|
||||
#
|
||||
# The above copyright notice and this permission notice shall be
|
||||
# included in all copies or substantial portions of the Software.
|
||||
|
||||
"""Tests for the `importadded` plugin."""
|
||||
|
||||
import os
|
||||
|
||||
|
|
@ -16,7 +30,7 @@ def preserve_plugin_listeners():
|
|||
deleted after the first setup / tear down cycle.
|
||||
"""
|
||||
if not ImportAddedPlugin.listeners:
|
||||
ImportAddedPlugin.listeners = _listeners
|
||||
ImportAddedPlugin.listeners = _listeners
|
||||
|
||||
|
||||
def modify_mtimes(paths, offset=-60000):
|
||||
|
|
|
|||
Loading…
Reference in a new issue