Tiny formatting tweaks (#1054)

This commit is contained in:
Adrian Sampson 2014-11-01 12:49:44 -07:00
parent 1ce5efeda1
commit 256a3b4055

View file

@ -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):