Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am sergio91pt on github.
  • I am sergiofariatd (https://keybase.io/sergiofariatd) on keybase.
  • I have a public key ASDFAoYwdMw0_FxqkSLKiy-I6jipRz6FSkcv1SWG_RXdOAo

To claim this, I am signing this object:

// THIS IS A BETA! I DON'T RECOMMEND USING IT IN PRODUCTION CODE JUST YET
/*
* Copyright 2012 Roman Nurik
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
@sergio91pt
sergio91pt / undup.py
Created September 30, 2011 14:40
Removes all duplicates of a given Launchpad bug
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
""" Removes all duplicates of a given Launchpad bug """
import os
import sys
from launchpadlib.launchpad import Launchpad
def connect():
cachedir = os.path.expanduser('~/.launchpadlib/cache')