Update imports, copyright notices.

This commit is contained in:
Simon Forman
2019-05-06 13:26:07 -07:00
parent d3b413493f
commit 9292d00534
9 changed files with 113 additions and 23 deletions
+20 -1
View File
@@ -1,8 +1,27 @@
# -*- coding: utf-8 -*-
#
# Copyright © 2019 Simon Forman
#
# This file is part of Thun
#
# Thun is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Thun is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Thun. If not see <http://www.gnu.org/licenses/>.
#
import os, pickle, traceback
from collections import Counter
from dulwich.errors import NotGitRepository
from dulwich.repo import Repo
import core, init_joy_home
from joy.vui import core, init_joy_home
def open_repo(repo_dir=None, initialize=False):