Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@divtxt PDQueue + queueing scripts prototype #2

Merged
merged 2 commits into from
Nov 6, 2013
Merged

Conversation

anitarao
Copy link
Contributor

@anitarao anitarao commented Nov 4, 2013

No description provided.

os.remove(file_path)

def flush(self):
with open("%s/lockfile" % self.queue_dir, "w") as lock_file:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll have to change this to try/finally later as Python 2.4 does not have with :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh. I'll change it.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't have to fix it at this time. We'll probably find plenty of issues when we hit 2.4 so we can fix things up then and/or when we move locking to it's own API.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alrighty. Merging as is, then...

@divtxt
Copy link
Contributor

divtxt commented Nov 6, 2013

:shipit:

anitarao added a commit that referenced this pull request Nov 6, 2013
@divtxt PDQueue + queueing scripts prototype
@anitarao anitarao merged commit 210d65b into master Nov 6, 2013
@lfepp lfepp deleted the 3645-agent-queue branch March 21, 2017 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants