Skip to content

Commit

Permalink
messing with gitpython lock issues
Browse files Browse the repository at this point in the history
  • Loading branch information
cmharlow committed Apr 28, 2016
1 parent 4bc11f8 commit 728bd29
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion grabBF2.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import rdflib
from rdflib.namespace import DCTERMS
from git import Repo
import os

bf2url = 'http://id.loc.gov/ontologies/bibframe.rdf'
bfURI = 'http://id.loc.gov/ontologies/bibframe/'

repo = Repo('/Users/Christina/Projects/BF2')
assert not repo.bare
config = repo.config_writer()
config.set_value("user", "email", "cmharlow@gmail.com")
config.set_value("user", "name", "cmh2166")
Expand Down Expand Up @@ -52,6 +52,7 @@ def main():
if updates:
writeBF2(newbf2rdf)
# Stage, Commit and Push any changes
os.remove('.git/config.lock')
index.add(['BF2specs'])
message = 'BF2 spec changes of: ' + str(date)
print(message)
Expand Down

0 comments on commit 728bd29

Please sign in to comment.