hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
23ced46fcb310a2dd1a0cc065c326141f65e0b5c | diff --git a/torchtext/datasets/language_modeling.py b/torchtext/datasets/language_modeling.py
index <HASH>..<HASH> 100644
--- a/torchtext/datasets/language_modeling.py
+++ b/torchtext/datasets/language_modeling.py
@@ -36,7 +36,8 @@ class WikiText2(LanguageModelingDataset):
@classmethod
def splits(cls, text... | Allow **kwargs in LM dataset splits (#<I>) | pytorch_text | train |
a955cf531cc905d19fd8ccdd4a41766679737955 | diff --git a/theme/boost/classes/output/core_renderer.php b/theme/boost/classes/output/core_renderer.php
index <HASH>..<HASH> 100644
--- a/theme/boost/classes/output/core_renderer.php
+++ b/theme/boost/classes/output/core_renderer.php
@@ -620,7 +620,7 @@ class core_renderer extends \core_renderer {
$na... | MDL-<I> boost: Participants cog shows too much
Because 0 == 'participants' in php. | moodle_moodle | train |
dd42713c1846ad8ff3d0042a1ff9f130dd3d078b | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -182,7 +182,8 @@ class custom_star_build(build_ext):
# Copy over the libraries to the build directory manually, and add to package data.
-
+ if not os.path.isdir(os.path.join(self.build_lib, 'starli... | setup.py: ensure .libs directory exists before trying to copy to it | sfgraves_starlink-pyhds | train |
a58054746ed8e36644865feb8ef8c9b1005a91e6 | diff --git a/pyasmjit/pyasmjit/main.py b/pyasmjit/pyasmjit/main.py
index <HASH>..<HASH> 100644
--- a/pyasmjit/pyasmjit/main.py
+++ b/pyasmjit/pyasmjit/main.py
@@ -131,10 +131,42 @@ ret
"""
template_arm_assembly = """\
+/* Save registers */
+push {r0 - r12, lr}
+
+/* Save flags (user mode) */
+mrs r1, apsr
+push {r1... | ARM: PyAsmJIT: Function prologue and epilogue. | programa-stic_barf-project | train |
99f7696cc96850a5e8e00fe5f2512f8287172799 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@ from distutils.core import setup
import sys
import os
-version = '2018.11.4'
+version = '2019.5.1'
def using_ios_stash():
''' returns true if sys path hints the install is running on ios ''' | added easy benchmarking to the Generator class | CodyKochmann_generators | train |
797b25c2c26cdd261bab1eee1190c75bed6e64b1 | diff --git a/assets/P2AssetBase.php b/assets/P2AssetBase.php
index <HASH>..<HASH> 100755
--- a/assets/P2AssetBase.php
+++ b/assets/P2AssetBase.php
@@ -282,23 +282,23 @@ class P2AssetBase extends \yii\web\AssetBundle
// ##### ^ ##### UTILITY FUNCTIONS ##### ^ ##### //
- protected function assetVersion()
+ private ... | Update P2AssetBase.php | p2made_yii2-p2y2-base | train |
d1af57e114a5f7df09784c43c0f33e98454acbbc | diff --git a/android/src/main/java/com/bugsnag/BugsnagReactNative.java b/android/src/main/java/com/bugsnag/BugsnagReactNative.java
index <HASH>..<HASH> 100644
--- a/android/src/main/java/com/bugsnag/BugsnagReactNative.java
+++ b/android/src/main/java/com/bugsnag/BugsnagReactNative.java
@@ -232,11 +232,6 @@ public class... | fix(android): Start the first session when enabling auto session tracking
If session tracking has not yet been enabled on the native side, the
first session will be started despite an activity already being started.
Once the initial session is started, auto capture proceeds normally. | bugsnag_bugsnag-react-native | train |
a44b4d86503c9eee2dfbeca4c7c582315b918ce1 | diff --git a/msbuild-maven-plugin/src/main/java/uk/org/raje/maven/plugin/msbuild/CxxTestRunnerMojo.java b/msbuild-maven-plugin/src/main/java/uk/org/raje/maven/plugin/msbuild/CxxTestRunnerMojo.java
index <HASH>..<HASH> 100644
--- a/msbuild-maven-plugin/src/main/java/uk/org/raje/maven/plugin/msbuild/CxxTestRunnerMojo.jav... | Revert changes to CxxTest to fix issue #<I> in order to prepare to have single commit for changes that include integration tests | andi12_msbuild-maven-plugin | train |
01e491ec866781afd222419a69f5bdd8a7d37fc7 | diff --git a/src/Symfony/Component/Console/Tests/Helper/TableTest.php b/src/Symfony/Component/Console/Tests/Helper/TableTest.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/Console/Tests/Helper/TableTest.php
+++ b/src/Symfony/Component/Console/Tests/Helper/TableTest.php
@@ -742,7 +742,7 @@ TABLE;
$... | [Console] Fix typo in tests | symfony_symfony | train |
76f0084d0689ec7a610f657e7e0a731d23865aed | diff --git a/Form/UserType.php b/Form/UserType.php
index <HASH>..<HASH> 100644
--- a/Form/UserType.php
+++ b/Form/UserType.php
@@ -14,16 +14,22 @@ use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
/**
+ * UserType
+ *
* @author Dries De Peuter <dries@... | [User] Fix super admin losing permissions after save. | Clastic_UserBundle | train |
ba0825f7ccab9001eaf27240e50360ac98df8389 | diff --git a/Controller/ElFinderController.php b/Controller/ElFinderController.php
index <HASH>..<HASH> 100644
--- a/Controller/ElFinderController.php
+++ b/Controller/ElFinderController.php
@@ -23,7 +23,7 @@ class ElFinderController extends Controller
{
$efParameters = $this->container->getParameter('fm_... | added formTypeId argument to selectEditor method. | helios-ag_FMElfinderBundle | train |
631eee91e2667b10a572623d7fd5c98dc641afb5 | diff --git a/estnltk/taggers/tagger.py b/estnltk/taggers/tagger.py
index <HASH>..<HASH> 100644
--- a/estnltk/taggers/tagger.py
+++ b/estnltk/taggers/tagger.py
@@ -44,6 +44,7 @@ class Tagger(metaclass=TaggerChecker):
input_layers
__init__(...)
_make_layer(...)
+ _make_layer_template
"""
__s... | Updated Tagger interface: added get_layer_template & _make_layer_template | estnltk_estnltk | train |
41d3de7fb9ade1696aee2f18a4f0deda0402e44d | diff --git a/djstripe/managers.py b/djstripe/managers.py
index <HASH>..<HASH> 100644
--- a/djstripe/managers.py
+++ b/djstripe/managers.py
@@ -12,9 +12,11 @@ class StripeObjectManager(models.Manager):
"""
Search for a matching stripe object based on a Stripe object
received from Stripe in JSO... | a few minor changes from PR discussion | dj-stripe_dj-stripe | train |
3e39cc0d470af770cd672cb8f5b4b5744969e4b0 | diff --git a/lib/casting/client.rb b/lib/casting/client.rb
index <HASH>..<HASH> 100644
--- a/lib/casting/client.rb
+++ b/lib/casting/client.rb
@@ -10,7 +10,7 @@ module Casting
Casting::Client.set_delegation_strategy(self, *which.reverse)
end
- unless base.instance_methods.include?('delegate')
+ ... | use method_defined? to check for methods | saturnflyer_casting | train |
e343006b8f2fa7ca48ab18df0b2dee7c2d5ac6de | diff --git a/cmd/ctr/commands/tasks/delete.go b/cmd/ctr/commands/tasks/delete.go
index <HASH>..<HASH> 100644
--- a/cmd/ctr/commands/tasks/delete.go
+++ b/cmd/ctr/commands/tasks/delete.go
@@ -17,14 +17,21 @@
package tasks
import (
+ "github.com/containerd/containerd"
"github.com/containerd/containerd/cmd/ctr/comma... | ctr: allow for force kill when deleting task process | containerd_containerd | train |
e6ac816a3b12d869a2d1d364bad4c478f6ff5c5a | diff --git a/src/main/java/org/springframework/social/twitter/TwitterTemplate.java b/src/main/java/org/springframework/social/twitter/TwitterTemplate.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/springframework/social/twitter/TwitterTemplate.java
+++ b/src/main/java/org/springframework/social/twitter/Twitte... | Added simple constructor to TwitterTemplate to support creation with minimal data needed to be able to sign requests. | spring-projects_spring-social-facebook | train |
4fa89a76d9533fb8f6d99d1da82a736a1f6db606 | diff --git a/frontend/app/map/hash/hash.js b/frontend/app/map/hash/hash.js
index <HASH>..<HASH> 100644
--- a/frontend/app/map/hash/hash.js
+++ b/frontend/app/map/hash/hash.js
@@ -52,16 +52,8 @@
}
}
- var routeParams = args.slice(4);
- if(routeParams.length >= 2) {
- var mode = null;
- if(rout... | Save search/route state as single string in hash | FacilMap_facilmap2 | train |
2baf2b10cc2d279cca8f9cc730c84d73834f6d8d | diff --git a/reactor-core/src/main/java/reactor/core/publisher/FluxRepeatWhen.java b/reactor-core/src/main/java/reactor/core/publisher/FluxRepeatWhen.java
index <HASH>..<HASH> 100644
--- a/reactor-core/src/main/java/reactor/core/publisher/FluxRepeatWhen.java
+++ b/reactor-core/src/main/java/reactor/core/publisher/FluxR... | fix #<I> Reorder repeatWhen onComplete request vs signalling
Similar to #<I>. This commit flips the order in which the request is
made to the otherArbiter vs emission of the completion notification to
the companion Flux (`signaller`).
Reviewed-in: #<I> | reactor_reactor-core | train |
77e65ff786c2a9f7c1d5a495514dcd427a557167 | diff --git a/lib/blocklib.php b/lib/blocklib.php
index <HASH>..<HASH> 100644
--- a/lib/blocklib.php
+++ b/lib/blocklib.php
@@ -746,7 +746,7 @@ function blocks_execute_repositioning_atomic(&$instance, $newpos, $newweight, $p
$sql = 'UPDATE '. $CFG->prefix .'block_instance SET weight = weight + 1 WHERE pagetype ... | removed some debugging output accidently left in. | moodle_moodle | train |
4b5661fd9acbe2645a75851bbfba4b369dc92003 | diff --git a/lib/octokit/enterprise_admin_client/users.rb b/lib/octokit/enterprise_admin_client/users.rb
index <HASH>..<HASH> 100644
--- a/lib/octokit/enterprise_admin_client/users.rb
+++ b/lib/octokit/enterprise_admin_client/users.rb
@@ -1,5 +1,5 @@
module Octokit
- class EnterpriseAdminClient < Octokit::Client
+ c... | No need to inherit Octokit::Client | octokit_octokit.rb | train |
e528944cc257120e2cc255dc5143e86ec8dec302 | diff --git a/reactfx/src/main/java/org/reactfx/value/Val.java b/reactfx/src/main/java/org/reactfx/value/Val.java
index <HASH>..<HASH> 100644
--- a/reactfx/src/main/java/org/reactfx/value/Val.java
+++ b/reactfx/src/main/java/org/reactfx/value/Val.java
@@ -604,7 +604,7 @@ extends ObservableValue<T>, Observable<Consumer<?... | Val.combine(a, b, c, f) dependency is fixed. | TomasMikula_ReactFX | train |
798c8be51d1dd6a4b54837be841948ac76b1e742 | diff --git a/src/Money.php b/src/Money.php
index <HASH>..<HASH> 100644
--- a/src/Money.php
+++ b/src/Money.php
@@ -6,7 +6,6 @@ use Brick\Math\BigDecimal;
use Brick\Math\BigInteger;
use Brick\Math\BigNumber;
use Brick\Math\RoundingMode;
-use Brick\Math\Exception\ArithmeticException;
use Brick\Math\Exception\NumberFo... | Change the meaning of minor/major in method names
- getAmountMajor() is now getIntegral()
- getAmountMinor() is now getFraction()
- getAmountCents() is now getAmountMinor()
- ofCents() is now ofMinor(), and accepts an optional `$fractionDigits parameter` | brick_money | train |
35d026246c09f0aaa7294a56ee40f1e37292f68d | diff --git a/clientv3/watch.go b/clientv3/watch.go
index <HASH>..<HASH> 100644
--- a/clientv3/watch.go
+++ b/clientv3/watch.go
@@ -139,7 +139,7 @@ type watcher struct {
callOpts []grpc.CallOption
// mu protects the grpc streams map
- mu sync.RWMutex
+ mu sync.Mutex
// streams holds all the active grpc streams... | clientv3: use Mutex for watcher lock | etcd-io_etcd | train |
527e68bf685964f3bac2d53b18cc1a3450321385 | diff --git a/closure/goog/net/streams/jsonstreamparser.js b/closure/goog/net/streams/jsonstreamparser.js
index <HASH>..<HASH> 100644
--- a/closure/goog/net/streams/jsonstreamparser.js
+++ b/closure/goog/net/streams/jsonstreamparser.js
@@ -190,6 +190,7 @@ Parser.prototype.getErrorMessage = function() {
* @private
*/... | Updates stream state on error.
RELNOTES: n/a
-------------
Created by MOE: <URL> | google_closure-library | train |
053dc3351ccd5f9a6e19548cbcf9d71d4dbcfa31 | diff --git a/aws/resource_aws_dx_bgp_peer.go b/aws/resource_aws_dx_bgp_peer.go
index <HASH>..<HASH> 100644
--- a/aws/resource_aws_dx_bgp_peer.go
+++ b/aws/resource_aws_dx_bgp_peer.go
@@ -170,7 +170,7 @@ func resourceAwsDxBgpPeerDelete(d *schema.ResourceData, meta interface{}) error
})
if err != nil {
// This is... | directconnect: Removing shimming helpers | terraform-providers_terraform-provider-aws | train |
7a25144cc004814e68ce950ffa4639d964f2f834 | diff --git a/tests/Pagination/PaginationPaginatorTest.php b/tests/Pagination/PaginationPaginatorTest.php
index <HASH>..<HASH> 100644
--- a/tests/Pagination/PaginationPaginatorTest.php
+++ b/tests/Pagination/PaginationPaginatorTest.php
@@ -174,4 +174,18 @@ class PaginationPaginatorTest extends PHPUnit_Framework_TestCase... | Added tests to assert that all trailing slashes are removed and that the paginator will always generate a URL without trailing slashes | laravel_framework | train |
2a90f13b672ee7e89600ddc6ed9c88dc33f39d3b | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100755
--- a/index.js
+++ b/index.js
@@ -456,10 +456,6 @@ if (require.main === module) {
const _bindWindow = (window, newWindowCb) => {
window.innerWidth = innerWidth;
window.innerHeight = innerHeight;
- window.navigator.setVRMode('ml');
- ... | Remove ML vr mode set as default | exokitxr_exokit | train |
362bc29cc0ef16f851852b678766e854778eed4c | diff --git a/gomock/controller.go b/gomock/controller.go
index <HASH>..<HASH> 100644
--- a/gomock/controller.go
+++ b/gomock/controller.go
@@ -56,8 +56,8 @@
package gomock
import (
+ "context"
"fmt"
- "golang.org/x/net/context"
"reflect"
"runtime"
"sync"
diff --git a/gomock/matchers_test.go b/gomock/matcher... | "golang.org/x/net/context" was replaced to "context" package | golang_mock | train |
456ce4cc92b6a24cc6087bebacd22f3d810d5de7 | diff --git a/cmd/config-current.go b/cmd/config-current.go
index <HASH>..<HASH> 100644
--- a/cmd/config-current.go
+++ b/cmd/config-current.go
@@ -341,6 +341,9 @@ func (s *serverConfig) TestNotificationTargets() error {
if !v.Enable {
continue
}
+ if v.TLS.Enable {
+ v.TLS.RootCAs = globalRootCAs
+ }
t... | Add rootCAs support to Kafka & MQTT (#<I>)
Fixes #<I> | minio_minio | train |
ee868a69d47ed55e8e0bd4d74e840fb56f0d0ee8 | diff --git a/src/AbstractCollection.php b/src/AbstractCollection.php
index <HASH>..<HASH> 100644
--- a/src/AbstractCollection.php
+++ b/src/AbstractCollection.php
@@ -41,7 +41,7 @@ abstract class AbstractCollection implements Collection
public function filter(\Closure $closure) : Collection
{
$clone ... | Fix bad indices for filtered collection
array_filter returns the indices of the original array which
might not be continuous and cause unexpected results when
transforming the Collection using toArray(). | mihaeu_dephpend | train |
3610f16c6fd14d83d5bfa68d05b21415b3fb0ff7 | diff --git a/googleanalytics/tests/report.py b/googleanalytics/tests/report.py
index <HASH>..<HASH> 100644
--- a/googleanalytics/tests/report.py
+++ b/googleanalytics/tests/report.py
@@ -48,4 +48,4 @@ class TestReporting(base.TestCase):
report = q.get()
for date in report['date']:
- self.... | Fix test to assert that dates should be cast to datetime.date instead of datetime.datetime. | debrouwere_google-analytics | train |
76b985e60e0ee7a3016b26a3e00288b65894fb82 | diff --git a/packages/bonde-styleguide/src/cards/Panel/Panel.js b/packages/bonde-styleguide/src/cards/Panel/Panel.js
index <HASH>..<HASH> 100644
--- a/packages/bonde-styleguide/src/cards/Panel/Panel.js
+++ b/packages/bonde-styleguide/src/cards/Panel/Panel.js
@@ -67,7 +67,7 @@ const Panel = ({
<Card title={sectionTit... | chore(styleguide): adjust panel title to h4 | nossas_bonde-client | train |
94267312f314e402ca08ba77d661ef0bc5110f6d | diff --git a/spec/slather/coverage_file_spec.rb b/spec/slather/coverage_file_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/slather/coverage_file_spec.rb
+++ b/spec/slather/coverage_file_spec.rb
@@ -154,7 +154,6 @@ OBJC
describe "branch coverage" do
let(:branch_coverage_file) do
- fixtures_project.covera... | Remove unnecessary setting of coverage_service in coverage_file_spec. | SlatherOrg_slather | train |
a4cd5113b16a168ecaa7431116793eed96704196 | diff --git a/src/module.js b/src/module.js
index <HASH>..<HASH> 100644
--- a/src/module.js
+++ b/src/module.js
@@ -17,5 +17,6 @@ angular.module('duScroll', [
'duScroll.scrollContainer',
'duScroll.scrollHelpers'
]).value('duScrollDuration', 350)
+ .value('duScrollSpyWait', 100)
.value('duScrollGreedy', false... | Implemented experimental debouncer for scroll spy handler. #<I> | oblador_angular-scroll | train |
be6fdf2062d90556a188e1999b534536f6e898d6 | diff --git a/src/Ractive/initialise.js b/src/Ractive/initialise.js
index <HASH>..<HASH> 100755
--- a/src/Ractive/initialise.js
+++ b/src/Ractive/initialise.js
@@ -21,6 +21,10 @@ export default function initialise(ractive, userOptions, options) {
// init config from Parent and options
config.init(ractive.construct... | init instance plugins before fragment creation so that they resolve | ractivejs_ractive | train |
1d8733de230c44dcb9e671aec192452cab4afeeb | diff --git a/yandextank/validator/tests/test_docs_gen.py b/yandextank/validator/tests/test_docs_gen.py
index <HASH>..<HASH> 100644
--- a/yandextank/validator/tests/test_docs_gen.py
+++ b/yandextank/validator/tests/test_docs_gen.py
@@ -72,14 +72,14 @@ from yandextank.validator.docs_gen import RSTRenderer, format_option
... | PR from branch users/fomars/yandextank_flake8
fix test docs gen
ref:<I>ac<I>ad<I>b<I>f<I>d<I>a<I>b<I>c4e8 | yandex_yandex-tank | train |
3d1ed2c7b86cec8db5b6a6fdb84ce533a2a5b0e6 | diff --git a/src/com/startingblocktech/tcases/generator/TestCaseDef.java b/src/com/startingblocktech/tcases/generator/TestCaseDef.java
index <HASH>..<HASH> 100755
--- a/src/com/startingblocktech/tcases/generator/TestCaseDef.java
+++ b/src/com/startingblocktech/tcases/generator/TestCaseDef.java
@@ -25,7 +25,7 @@ import ... | TestCaseDef: To support reuse of previous test cases, add (optional) id property | Cornutum_tcases | train |
9da5d18b1329165f695e85bcaa64dcfc34720c31 | diff --git a/reparse/tools/expression_checker.py b/reparse/tools/expression_checker.py
index <HASH>..<HASH> 100644
--- a/reparse/tools/expression_checker.py
+++ b/reparse/tools/expression_checker.py
@@ -1,9 +1,7 @@
"""
This module contains a useful function that aids in validating
expression files by making sure eac... | Expression_checker ignores expressions w/o 'Matches' and 'Non-Matches' fields. | andychase_reparse | train |
fea4ad9e8992e0e75c479a7461fcdde7a408e2bf | diff --git a/fbchat/__init__.py b/fbchat/__init__.py
index <HASH>..<HASH> 100644
--- a/fbchat/__init__.py
+++ b/fbchat/__init__.py
@@ -17,7 +17,7 @@ from .client import *
__copyright__ = 'Copyright 2015 - {} by Taehoon Kim'.format(datetime.now().year)
-__version__ = '1.0.17'
+__version__ = '1.0.18'
__license__ = ... | Version up, Thanks to ritu<I> | carpedm20_fbchat | train |
629b71ec3315f651ccde91cc400c6bbc708d9d8e | diff --git a/src/Guzzle/Stream/StreamInterface.php b/src/Guzzle/Stream/StreamInterface.php
index <HASH>..<HASH> 100644
--- a/src/Guzzle/Stream/StreamInterface.php
+++ b/src/Guzzle/Stream/StreamInterface.php
@@ -106,8 +106,7 @@ interface StreamInterface
* them. Fewer than $length bytes may be re... | More tweaks to the StreamInterface | guzzle_guzzle | train |
5db356930d4c64b50a68fbbd79f1bb3e1b240118 | diff --git a/jujupy.py b/jujupy.py
index <HASH>..<HASH> 100644
--- a/jujupy.py
+++ b/jujupy.py
@@ -288,6 +288,21 @@ class Juju2Backend:
(time.time() - start_time))
return rval
+ @contextmanager
+ def juju_async(self, command, args, used_feature_flags,
+ juju_home, model=N... | Move juju_async to backend. | juju_juju | train |
db0d80f6414ad32988012f2207257cf4c6f71a5f | diff --git a/core/src/main/java/ollie/query/Delete.java b/core/src/main/java/ollie/query/Delete.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/ollie/query/Delete.java
+++ b/core/src/main/java/ollie/query/Delete.java
@@ -23,7 +23,7 @@ public final class Delete extends QueryBase {
}
public Where where(... | Stop the compiler from whining. | pardom-zz_Ollie | train |
70d63044097672c5fadc4332ca6b6a89a8fcacd4 | diff --git a/restcomm/restcomm.interpreter/src/main/java/org/restcomm/connect/interpreter/VoiceInterpreter.java b/restcomm/restcomm.interpreter/src/main/java/org/restcomm/connect/interpreter/VoiceInterpreter.java
index <HASH>..<HASH> 100644
--- a/restcomm/restcomm.interpreter/src/main/java/org/restcomm/connect/interpre... | Fix to correctly obtain the name of the video conference from RCML verb. Issue #<I>. | RestComm_Restcomm-Connect | train |
6ec12e1aa059f52e4273b91f6cfb21e9e0a928e4 | diff --git a/lifetimes/utils.py b/lifetimes/utils.py
index <HASH>..<HASH> 100644
--- a/lifetimes/utils.py
+++ b/lifetimes/utils.py
@@ -1,6 +1,5 @@
from datetime import datetime
-import numpy as np
import pandas as pd
pd.options.mode.chained_assignment = None
@@ -23,12 +22,12 @@ def calibration_and_holdout_data(t... | revert back that change with 0s | CamDavidsonPilon_lifetimes | train |
cfa318eb547b4a8256302f28217c76f0cdb1e2d6 | diff --git a/multigtfs/models/feed.py b/multigtfs/models/feed.py
index <HASH>..<HASH> 100644
--- a/multigtfs/models/feed.py
+++ b/multigtfs/models/feed.py
@@ -97,7 +97,7 @@ class Feed(models.Model):
try:
for klass in gtfs_order:
for f in filelist:
- if f.endswit... | Do exact match when searching for file to import | tulsawebdevs_django-multi-gtfs | train |
a66caeec2755041b3231c0884629b7bb5f943518 | diff --git a/tests/Cartesian/test_give_zmat.py b/tests/Cartesian/test_give_zmat.py
index <HASH>..<HASH> 100644
--- a/tests/Cartesian/test_give_zmat.py
+++ b/tests/Cartesian/test_give_zmat.py
@@ -2,7 +2,70 @@ import chemcoord as cc
import pytest
+molecule1 = cc.Cartesian.read_xyz('MIL53_small.xyz')
+zmolecule = mol... | Improved Cartesian test Closes #9 | mcocdawc_chemcoord | train |
1e66150e5b9e886b8503e239e56c05084e98c9a1 | diff --git a/lib/sass/tree/visitors/perform.rb b/lib/sass/tree/visitors/perform.rb
index <HASH>..<HASH> 100644
--- a/lib/sass/tree/visitors/perform.rb
+++ b/lib/sass/tree/visitors/perform.rb
@@ -333,9 +333,7 @@ class Sass::Tree::Visitors::Perform < Sass::Tree::Visitors::Base
res = node.expr.perform(@environment)
... | Fix warning nodes on JRuby. | sass_ruby-sass | train |
8722c3852c64239c91c577b723592fc21a57e389 | diff --git a/collab/CollabServer.js b/collab/CollabServer.js
index <HASH>..<HASH> 100644
--- a/collab/CollabServer.js
+++ b/collab/CollabServer.js
@@ -2,6 +2,8 @@
var Server = require('./Server');
var CollabEngine = require('./CollabEngine');
+var extend = require('lodash/extend');
+var each = require('lodash/each'... | Consider hooks for authenticate and enhanceCollaborator. | substance_substance | train |
744a57d3c79b066d7b0981246097b3fe5b645f55 | diff --git a/examples/py/async-basic.py b/examples/py/async-basic.py
index <HASH>..<HASH> 100644
--- a/examples/py/async-basic.py
+++ b/examples/py/async-basic.py
@@ -15,10 +15,10 @@ import ccxt.async as ccxt # noqa: E402
#------------------------------------------------------------------------------
-async test_... | fixed the examples/py/async-basic.py #<I> | ccxt_ccxt | train |
a23ffa37b674bfcfb6a8cff6079ab29079059c26 | diff --git a/scanner/scanner.go b/scanner/scanner.go
index <HASH>..<HASH> 100644
--- a/scanner/scanner.go
+++ b/scanner/scanner.go
@@ -314,7 +314,7 @@ func (s *Scanner) updatePosition(text string) {
} else {
s.col = utf8.RuneCountInString(text[strings.LastIndex(text, "\n"):])
}
- s.pos += width
+ s.pos += len(te... | unicode tokens did not advance the pos properly (they used the rune count instead of the byte count) | gorilla_css | train |
5900a671160aaf8e2c606d98ae4439899fd1d6e6 | diff --git a/lib/negroku/modes/app.rb b/lib/negroku/modes/app.rb
index <HASH>..<HASH> 100644
--- a/lib/negroku/modes/app.rb
+++ b/lib/negroku/modes/app.rb
@@ -15,6 +15,7 @@ module Negroku::Modes
ask_features
custom_capify data
+ install_binstubs
end
@@ -37,6 +38,10 @@ module Negroku::Modes... | feat(app): run bundle binstub on app creation | platanus_negroku | train |
65b352a216ac5aceb103df214e88dd5ca93de521 | diff --git a/angr/simos.py b/angr/simos.py
index <HASH>..<HASH> 100644
--- a/angr/simos.py
+++ b/angr/simos.py
@@ -72,15 +72,16 @@ class SyscallTable(object):
:ivar int max_syscall_number: The maximum syscall number of all supported syscalls in the platform.
:ivar int unknown_syscall_number: The sysca... | Fix a crash when analyzing binaries on architectures with no syscall defined. | angr_angr | train |
66a06e09171a22955345a392ef18b10a1efb7354 | diff --git a/tests/TestCase.php b/tests/TestCase.php
index <HASH>..<HASH> 100644
--- a/tests/TestCase.php
+++ b/tests/TestCase.php
@@ -10,6 +10,9 @@ abstract class TestCase extends BaseTestCase
{
use CreatesApplication;
+ /** @var string|null */
+ protected $firstSuperAdminEmail;
+
protected function... | Update TestCase.php | russsiq_bixbite | train |
b0bf9ea19dfe70b9d94a7d3eb59a75a86925b366 | diff --git a/db.php b/db.php
index <HASH>..<HASH> 100644
--- a/db.php
+++ b/db.php
@@ -41,15 +41,22 @@ class Db {
public function connect(){
try{
$this->pdo = new PDO(
- $this->config['driver'].':dbname='.$this->config['database'].
- ';host='.$this->config['host'].';port='.$this->config['port'],
- $th... | restructured entire order inventory system upgraded core code to match new lss standards | nullivex_lib-db | train |
0f9a1a7a3768be775e2ba1492f18c1c2a46bc9fe | diff --git a/app/assets/javascripts/govuk_publishing_components/components/step-by-step-nav.js b/app/assets/javascripts/govuk_publishing_components/components/step-by-step-nav.js
index <HASH>..<HASH> 100644
--- a/app/assets/javascripts/govuk_publishing_components/components/step-by-step-nav.js
+++ b/app/assets/javascri... | Remove unnecessary GA tracking event
- was essentially duplicating another tracking event on the same action i.e. opening a step | alphagov_govuk_publishing_components | train |
2b774ff29d2d230ccc3e818cc9f08903ecb379ea | diff --git a/GVRf/Framework/src/org/gearvrf/GVREventReceiver.java b/GVRf/Framework/src/org/gearvrf/GVREventReceiver.java
index <HASH>..<HASH> 100644
--- a/GVRf/Framework/src/org/gearvrf/GVREventReceiver.java
+++ b/GVRf/Framework/src/org/gearvrf/GVREventReceiver.java
@@ -1,3 +1,18 @@
+/* Copyright 2016 Samsung Electroni... | GVREventReceiver: Add copyright header | Samsung_GearVRf | train |
353a38555df3551871b6c5dcf757ea2ee3c0c7a0 | diff --git a/test/e2e/federation-event.go b/test/e2e/federation-event.go
index <HASH>..<HASH> 100644
--- a/test/e2e/federation-event.go
+++ b/test/e2e/federation-event.go
@@ -70,12 +70,13 @@ func createEventOrFail(clientset *federation_release_1_4.Clientset, namespace st
event := &v1.Event{
ObjectMeta: v1.Object... | Fixing the namespace in created event to fix federation event e2e | kubernetes_kubernetes | train |
691387afc0a481abc4f2ab6a65d9b8328830479b | diff --git a/src/ruby/qps/histogram.rb b/src/ruby/qps/histogram.rb
index <HASH>..<HASH> 100644
--- a/src/ruby/qps/histogram.rb
+++ b/src/ruby/qps/histogram.rb
@@ -36,7 +36,7 @@ class Histogram
# @param {number} value The value to check
# @return {number} The bucket index
def bucket_for(value)
- return (Math... | Make histogram more canonically Ruby-style | grpc_grpc | train |
c6f9f4208e3d119537006d4f06f54b704a111f24 | diff --git a/pfurl/pfurl.py b/pfurl/pfurl.py
index <HASH>..<HASH> 100644
--- a/pfurl/pfurl.py
+++ b/pfurl/pfurl.py
@@ -7,12 +7,9 @@ pfurl - path-file url module
'''
-# import argparse
-# import time
import sys
import json
import pprint
-# import socket
import pycurl
import io
import os
@@ -22,11 +19... | Remove extraneous imports. | FNNDSC_pfurl | train |
5d4d8584d3ed94b0701234791b23b256f97374df | diff --git a/lib/symmetric_encryption/extensions/active_record/base.rb b/lib/symmetric_encryption/extensions/active_record/base.rb
index <HASH>..<HASH> 100644
--- a/lib/symmetric_encryption/extensions/active_record/base.rb
+++ b/lib/symmetric_encryption/extensions/active_record/base.rb
@@ -54,7 +54,7 @@ module ActiveRe... | Fixes #9 Prevent the use of gsub! etc on the unencrypted attribute by freezing its value. Forces calling the setter so that the encrypted value is also updated.
It is possible that this may break existing code that modifies the string after assigning to another variable, so leaving until the next minor release. Requir... | rocketjob_symmetric-encryption | train |
078a94e495f16a6bbe7c4c3f93bef347e5ca3399 | diff --git a/plugins/dependencies.gradle b/plugins/dependencies.gradle
index <HASH>..<HASH> 100644
--- a/plugins/dependencies.gradle
+++ b/plugins/dependencies.gradle
@@ -16,7 +16,7 @@ ext {
dep = [
// mapbox
- mapSdk : 'com.mapbox.mapboxsdk:mapbox-android-sdk:5.1.1',
+ ... | Bump dependency to beta<I> (#<I>)
* [android] - bump deps
* Add previous location if map style changes | mapbox_mapbox-plugins-android | train |
1b82ea1dcc08a23b6b17fd7a24fd331054ed4117 | diff --git a/examples/integrationTest/src/main/java/org/androidtransfuse/integrationTest/saveState/SaveInstanceState.java b/examples/integrationTest/src/main/java/org/androidtransfuse/integrationTest/saveState/SaveInstanceState.java
index <HASH>..<HASH> 100644
--- a/examples/integrationTest/src/main/java/org/androidtra... | Updated SavedInstanceState Tests | johncarl81_transfuse | train |
004b561bf419220ca6c4c797503e0e2383709196 | diff --git a/lib/generators/faalis/install_generator.rb b/lib/generators/faalis/install_generator.rb
index <HASH>..<HASH> 100755
--- a/lib/generators/faalis/install_generator.rb
+++ b/lib/generators/faalis/install_generator.rb
@@ -103,10 +103,8 @@ module Faalis
inside Rails.root do
- run 'rm Gemfi... | bundle_command replaced by run in install generator | Yellowen_Faalis | train |
a367fbbbb6e9b0ff064c5667ffc25b125a9dc772 | diff --git a/src/main/java/org/komamitsu/fluency/flusher/Flusher.java b/src/main/java/org/komamitsu/fluency/flusher/Flusher.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/komamitsu/fluency/flusher/Flusher.java
+++ b/src/main/java/org/komamitsu/fluency/flusher/Flusher.java
@@ -100,6 +100,8 @@ public abstract c... | Bug fixed: executor service not terminated | komamitsu_fluency | train |
6240831d13d1f7986bc470832e9ba9f26ed32323 | diff --git a/src/editor/components/ElementCitationComponent.js b/src/editor/components/ElementCitationComponent.js
index <HASH>..<HASH> 100644
--- a/src/editor/components/ElementCitationComponent.js
+++ b/src/editor/components/ElementCitationComponent.js
@@ -16,9 +16,7 @@ export default class ElementCitationComponent e... | Don't render links in references list. | substance_texture | train |
03473f2950639fd6dddb2b20594d5d8f5c2fdb90 | diff --git a/Stripe/StripeClient.php b/Stripe/StripeClient.php
index <HASH>..<HASH> 100644
--- a/Stripe/StripeClient.php
+++ b/Stripe/StripeClient.php
@@ -2,8 +2,14 @@
namespace Flosch\Bundle\StripeBundle\Stripe;
-use Stripe\Stripe;
+use Stripe\Stripe,
+ Stripe\Customer;
+/**
+ * An extension of the Stripe PH... | [Plan] Add shortcut to subscribe a customer to a given plan. | flo-sch_stripe-bundle | train |
ce2346b0878ca2a0ff77922206a1a60149aed46e | diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/MetricFilterAutoConfiguration.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/MetricFilterAutoConfiguration.java
index <HASH>..<HASH> 100644
--- a/spring-boot-actuator/src/main/java/or... | Reintroduce endpoints.metrics.filter.enabled
Commit 8c<I> removed the endpoints.metrics.filter.enabled property so
that endpoints.metrics.enabled is used for both disabling the endpoint
and the servlet filter that records interactions.
This was an unfortunate decision as it was no longer possible to only
disable the ... | spring-projects_spring-boot | train |
75c323a85ddf6f8677ea39ca399307651a3d4943 | diff --git a/test/test_validation.rb b/test/test_validation.rb
index <HASH>..<HASH> 100644
--- a/test/test_validation.rb
+++ b/test/test_validation.rb
@@ -390,7 +390,7 @@ class TestValidationAdjustment < Test::Unit::TestCase
attr_validator :chomped, AND(Symbol, NOT(/\n/)), &WHEN(String, ->v{v.chomp!.to_sym})
... | modify test-case for JRuby bugs (I have against this trouble when use on Jruby-pre<I> >_<) 2b9dedf5d<I>d<I>b<I>ab<I>da<I>f8e9c2f<I>c | kachick_validation | train |
2a07b94bd4491bb8f30cb32334efda045babaf61 | diff --git a/ghost/mailgun-client/lib/mailgun-client.js b/ghost/mailgun-client/lib/mailgun-client.js
index <HASH>..<HASH> 100644
--- a/ghost/mailgun-client/lib/mailgun-client.js
+++ b/ghost/mailgun-client/lib/mailgun-client.js
@@ -1,7 +1,6 @@
const _ = require('lodash');
const debug = require('@tryghost/debug');
con... | Fixed small boot time regression due to lack of dependency lazyloading
- when I extracted `mailgun-client` to a separate package, I
accidentally removed the lazyloading for the `mailgun-js` library,
which takes a non-negligible amount of time to require on boot
- this fixes that by moving the require into the func... | TryGhost_Ghost | train |
d1aa6cdc42f680f15191b9d8e649c5cb06846332 | diff --git a/pythainlp/transliterate/thai2rom.py b/pythainlp/transliterate/thai2rom.py
index <HASH>..<HASH> 100644
--- a/pythainlp/transliterate/thai2rom.py
+++ b/pythainlp/transliterate/thai2rom.py
@@ -14,26 +14,33 @@ class ThaiTransliterator:
"""
self.__input_token_index = {
' ': 0, '!': 1... | clean pep8 for thai2rom | PyThaiNLP_pythainlp | train |
af7bc6cd24de3f3284b546c63c82db12f8464d9a | diff --git a/lib/navigationlib.php b/lib/navigationlib.php
index <HASH>..<HASH> 100644
--- a/lib/navigationlib.php
+++ b/lib/navigationlib.php
@@ -2226,6 +2226,8 @@ class global_navigation extends navigation_node {
}
}
+ // Add the messages link.
+ // It is context based so can app... | MDL-<I> navigation: my private files in profile only | moodle_moodle | train |
4e678cb2bb7e6d6b748703ff96a6ab5bcb0e61f3 | diff --git a/templates/web/js/mad_chatter.js b/templates/web/js/mad_chatter.js
index <HASH>..<HASH> 100644
--- a/templates/web/js/mad_chatter.js
+++ b/templates/web/js/mad_chatter.js
@@ -167,6 +167,7 @@ var MadChatter = {
$('#users-nav').show();
}
$channel.show();
+ MadChatter.scroll_to_bottom_of_chat(channe... | now scrolling to bottom of chat when navigating back to a room | andrewhavens_mad_chatter | train |
cea3057afff9f7a80c2c79c7e47662658bc1b9de | diff --git a/anthemav/protocol.py b/anthemav/protocol.py
index <HASH>..<HASH> 100755
--- a/anthemav/protocol.py
+++ b/anthemav/protocol.py
@@ -374,7 +374,7 @@ class AVR(asyncio.Protocol):
"""
try:
return round((90.00 + int(value)) / 90 * 100)
- except:
+ except ValueError:
... | Fix boolean handling and remove bare excepts | nugget_python-anthemav | train |
ce746c963e7826206285f233bed0da499ed60360 | diff --git a/lib/ribusb.rb b/lib/ribusb.rb
index <HASH>..<HASH> 100644
--- a/lib/ribusb.rb
+++ b/lib/ribusb.rb
@@ -144,7 +144,11 @@ module RibUSB
def configurations
configs = []
bNumConfigurations.times do |config_index|
- configs << configDescriptor(config_index)
+ begin
+ con... | On Windows some devices don't return it's configuration: return empty list instead of RuntimeError | larskanis_libusb | train |
fc20e666bee76a4039e5c50e79f84298ce14aa44 | diff --git a/grakn-test/src/main/java/ai/grakn/test/DistributionContext.java b/grakn-test/src/main/java/ai/grakn/test/DistributionContext.java
index <HASH>..<HASH> 100644
--- a/grakn-test/src/main/java/ai/grakn/test/DistributionContext.java
+++ b/grakn-test/src/main/java/ai/grakn/test/DistributionContext.java
@@ -24,8 ... | Check if package exists before running Distribution Context tests (#<I>) | graknlabs_grakn | train |
def24d4243fafbfd20383fc864eb46604fdd2609 | diff --git a/flux_led/models_db.py b/flux_led/models_db.py
index <HASH>..<HASH> 100755
--- a/flux_led/models_db.py
+++ b/flux_led/models_db.py
@@ -332,12 +332,12 @@ MODELS = [
),
LEDENETModel(
model_num=0x54,
- models=[],
+ models=["HF-LPB100-ZJ200"],
description="Downlight RGB... | Fix Downlight 0x<I> color modes/protocol (#<I>) | Danielhiversen_flux_led | train |
4e7a38e311b1b88d48b5099e9eaa0b4f9f1e3a43 | diff --git a/plugin/rpc/cli_rpc_server.go b/plugin/rpc/cli_rpc_server.go
index <HASH>..<HASH> 100644
--- a/plugin/rpc/cli_rpc_server.go
+++ b/plugin/rpc/cli_rpc_server.go
@@ -32,6 +32,7 @@ type CliRpcCmd struct {
cliConfig core_config.Repository
repoLocator api.RepositoryLocator
newCmdRunner ... | use SetOutputBucket() to capture outputs from plugin calls | cloudfoundry_cli | train |
77c319cb810c732e28545c292acddcfb32990946 | diff --git a/deploy_stack.py b/deploy_stack.py
index <HASH>..<HASH> 100755
--- a/deploy_stack.py
+++ b/deploy_stack.py
@@ -360,6 +360,20 @@ def update_env(env, new_env_name, series=None, bootstrap_host=None,
env.config['agent-stream'] = agent_stream
+def tear_down(client, jes_enabled):
+ """Tear down a ... | Destroy environment on bootstrap failure. | juju_juju | train |
660ea20b1c03529e141cc0bb652aee61eb52898b | diff --git a/vyked/bus.py b/vyked/bus.py
index <HASH>..<HASH> 100644
--- a/vyked/bus.py
+++ b/vyked/bus.py
@@ -20,6 +20,7 @@ class Bus:
self._client_protocols = {}
self._service_clients = []
self._pending_requests = []
+ self._unacked_publish = {}
self._tcp_host = None
... | Adding acking mechanism for publish packet | kashifrazzaqui_vyked | train |
ef829438303caaee01b4718497e38148665c37ca | diff --git a/tests.py b/tests.py
index <HASH>..<HASH> 100644
--- a/tests.py
+++ b/tests.py
@@ -241,6 +241,15 @@ class QueryTests(BasePeeweeTestCase):
sq = sq.having('count > 2')
self.assertEqual(sq.sql(), ('SELECT t1.*, COUNT(t2.id) AS count FROM blog AS t1 INNER JOIN entry AS t2 ON t1.id = ... | Adding an additional bit to the aggregation test case | coleifer_peewee | train |
7b7c87f7ac048a56ddaa95edb2d94a3f98b878f9 | diff --git a/dev/com.ibm.ws.webcontainer.servlet.4.0/src/com/ibm/ws/webcontainer40/srt/http/HttpPushBuilder.java b/dev/com.ibm.ws.webcontainer.servlet.4.0/src/com/ibm/ws/webcontainer40/srt/http/HttpPushBuilder.java
index <HASH>..<HASH> 100644
--- a/dev/com.ibm.ws.webcontainer.servlet.4.0/src/com/ibm/ws/webcontainer40/s... | check for ending slash and fix logging | OpenLiberty_open-liberty | train |
88ea5e4f6c5f1c9311bd050f784c211e83934e2b | diff --git a/src/uki-core/background/linearGradient.js b/src/uki-core/background/linearGradient.js
index <HASH>..<HASH> 100644
--- a/src/uki-core/background/linearGradient.js
+++ b/src/uki-core/background/linearGradient.js
@@ -46,7 +46,7 @@ uki.background.LinearGradient = uki.newClass(uki.background.CssBox, new functio... | linear gradient for older safries, use padding instead of margin for inputs. | voloko_uki | train |
21df53373f9f58b68028c5ae7bec83fad89f1ced | diff --git a/core/math/src/main/java/org/arakhne/afc/math/geometry/d3/ad/Path3ad.java b/core/math/src/main/java/org/arakhne/afc/math/geometry/d3/ad/Path3ad.java
index <HASH>..<HASH> 100644
--- a/core/math/src/main/java/org/arakhne/afc/math/geometry/d3/ad/Path3ad.java
+++ b/core/math/src/main/java/org/arakhne/afc/math/g... | [math] addition of getCurrent() methods in Path3ad | gallandarakhneorg_afc | train |
fee1157ee7c49b86ea93094d5ddbff541856201e | diff --git a/kmip/core/messages/contents.py b/kmip/core/messages/contents.py
index <HASH>..<HASH> 100644
--- a/kmip/core/messages/contents.py
+++ b/kmip/core/messages/contents.py
@@ -103,10 +103,9 @@ class ProtocolVersion(Struct):
def __eq__(self, other):
if isinstance(other, ProtocolVersion):
... | Fixing line break style error
This change fixes a minor style error where a line break was used
before a binary operator in an if-statement. | OpenKMIP_PyKMIP | train |
3b5c2f6463d05a0391b278e422e678f1bfb6a439 | diff --git a/collector/paths.go b/collector/paths.go
index <HASH>..<HASH> 100644
--- a/collector/paths.go
+++ b/collector/paths.go
@@ -14,10 +14,10 @@
package collector
import (
- "path"
+ "path/filepath"
"github.com/prometheus/procfs"
- "gopkg.in/alecthomas/kingpin.v2"
+ kingpin "gopkg.in/alecthomas/kingpin.v2... | collector: use path/filepath for handling file paths (#<I>) | prometheus_node_exporter | train |
e8746a2375cb17d5c4b59dad55f0d712a5913a06 | diff --git a/core/server/models/base.js b/core/server/models/base.js
index <HASH>..<HASH> 100644
--- a/core/server/models/base.js
+++ b/core/server/models/base.js
@@ -227,7 +227,7 @@ ghostBookshelf.Model = ghostBookshelf.Model.extend({
// Remove non ascii characters
slug = unidecode(slug);
//... | Add `rss` to the list of reserved post titles/slugs.
closes #<I>
- added `rss` to core/server/models `generateSlug` reserved keywords
- added integration test for safe slug generation to core/test/integration/model/model_posts_spec.js | TryGhost_Ghost | train |
14e7d653668c445595a5afc6519f86d0bc0be68f | diff --git a/src/connection.js b/src/connection.js
index <HASH>..<HASH> 100644
--- a/src/connection.js
+++ b/src/connection.js
@@ -36,6 +36,12 @@ util.inherits(Connection, DuplexStream);
module.exports = Connection;
+Connection.prototype.debugOut = function(out) {
+ if (this.options.debug) {
+ this.emit(... | 'debug' event for extra connection debugging output | kiwiirc_irc-framework | train |
6f6a7045429c11468f7251f2a86b57aa97b20b58 | diff --git a/modules/reporting.js b/modules/reporting.js
index <HASH>..<HASH> 100644
--- a/modules/reporting.js
+++ b/modules/reporting.js
@@ -54,6 +54,17 @@ l_module.start = function (config, onDone) {
ports: UTIL.getLocalPort()
}
});
+
+ // add monitor as a remote API endpoint
+ SR.API.addRemote({nam... | add: get PATH_LIB from monitor server | imonology_scalra | train |
b4e27f7b656d8dc0d4cf13840a121c6708e0efae | diff --git a/graphene_django_extras/__init__.py b/graphene_django_extras/__init__.py
index <HASH>..<HASH> 100644
--- a/graphene_django_extras/__init__.py
+++ b/graphene_django_extras/__init__.py
@@ -9,7 +9,7 @@ from .mutation import DjangoSerializerMutation
from .paginations import LimitOffsetGraphqlPagination, PageGr... | Added new date directive: "time ago 2d".
Updated graphene-django requirements.
Replaced dateutils dependency with python-dateutil.
Fixed minor bug on "time ago" date directive. | eamigo86_graphene-django-extras | train |
71c10877c9aeeba2e5ef9a1557d3ffcd54ff5031 | diff --git a/lib/rib/plugin.rb b/lib/rib/plugin.rb
index <HASH>..<HASH> 100644
--- a/lib/rib/plugin.rb
+++ b/lib/rib/plugin.rb
@@ -10,11 +10,15 @@ module Rib::Plugin
def enable
self.disabled = false
if block_given? then yield else enabled? end
+ ensure
+ self.disabled = true if bloc... | plugin.rb: if we're giving a block, we want it revert back after done | godfat_rib | train |
3ffe3ef99b4e8a638bad39d4e0a83f34d6ba4792 | diff --git a/andes/filters/psse.py b/andes/filters/psse.py
index <HASH>..<HASH> 100644
--- a/andes/filters/psse.py
+++ b/andes/filters/psse.py
@@ -372,8 +372,8 @@ def add_dyn(system, model, data):
'Tf': data[10],
'Tr': data[0],
'Kf': data[9],
- 'Ke':... | Bug fixes for exciter imports | cuihantao_andes | train |
a1bd031d73dec89ec1703d5e8bcea5ca54bbe75d | diff --git a/src/test/java/picocli/Issue1537Ambiguous.java b/src/test/java/picocli/Issue1537Ambiguous.java
index <HASH>..<HASH> 100644
--- a/src/test/java/picocli/Issue1537Ambiguous.java
+++ b/src/test/java/picocli/Issue1537Ambiguous.java
@@ -15,7 +15,7 @@ public class Issue1537Ambiguous {
@Command
static cla... | [#<I>] update test setAbbreviatedOptionsAllowed (still cannot reproduce) | remkop_picocli | train |
f76ce0bcadd2d7b7024e2e44614a91c102524d95 | diff --git a/playhouse/mysql_ext.py b/playhouse/mysql_ext.py
index <HASH>..<HASH> 100644
--- a/playhouse/mysql_ext.py
+++ b/playhouse/mysql_ext.py
@@ -7,7 +7,10 @@ except ImportError:
from peewee import ImproperlyConfigured
from peewee import MySQLDatabase
+from peewee import NodeList
+from peewee import SQL
from ... | Add Match helper to playhouse.mysql_ext based on #<I>. | coleifer_peewee | train |
ed59592d52c5b79daf71ee1c89ce9cf87bfc9f91 | diff --git a/telemetry/telemetry/unittest/json_results.py b/telemetry/telemetry/unittest/json_results.py
index <HASH>..<HASH> 100644
--- a/telemetry/telemetry/unittest/json_results.py
+++ b/telemetry/telemetry/unittest/json_results.py
@@ -5,12 +5,15 @@
import json
import time
import unittest
+import urllib2
+
# T... | Add support for uploading results to the flakiness dashboard.
R=<EMAIL>, <EMAIL>
BUG=<I>
Review URL: <URL> | catapult-project_catapult | train |
2ae9dfa4c93cfa198760e3aeab54b1e445cd2460 | diff --git a/openquake/hazardlib/calc/filters.py b/openquake/hazardlib/calc/filters.py
index <HASH>..<HASH> 100644
--- a/openquake/hazardlib/calc/filters.py
+++ b/openquake/hazardlib/calc/filters.py
@@ -61,6 +61,7 @@ the index can be compensed. Finally, there is a function
import sys
import logging
from contextlib i... | Initial support for MagnitudeDistanceFunction | gem_oq-engine | train |
a0339901c2f5cf80269d250e933af78d1d91f19b | diff --git a/src/main/java/org/primefaces/component/outputlabel/OutputLabelRenderer.java b/src/main/java/org/primefaces/component/outputlabel/OutputLabelRenderer.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/primefaces/component/outputlabel/OutputLabelRenderer.java
+++ b/src/main/java/org/primefaces/componen... | Refactor on colon handling in OutputLabel messages | primefaces_primefaces | train |
0a4a6bcfa07177d5bbd4c4ce2aaa073c4ad73043 | diff --git a/src/utils/index.js b/src/utils/index.js
index <HASH>..<HASH> 100644
--- a/src/utils/index.js
+++ b/src/utils/index.js
@@ -1,6 +1,7 @@
export {
animationProcessorFactory,
animationStartFactory,
+ getMethodIfExists,
} from './animate';
export {
diff --git a/src/utils/test/animate.test.js b/src/ut... | STP-<I>: Improve animation test coverage by unit testing new function `getMethodIfExists`. | ihmeuw_ihme-ui | train |
3bbf672936533d564542e2bb28c3e91a243b5096 | diff --git a/src/Kunstmaan/MediaBundle/Helper/File/FileHandler.php b/src/Kunstmaan/MediaBundle/Helper/File/FileHandler.php
index <HASH>..<HASH> 100644
--- a/src/Kunstmaan/MediaBundle/Helper/File/FileHandler.php
+++ b/src/Kunstmaan/MediaBundle/Helper/File/FileHandler.php
@@ -115,10 +115,19 @@ class FileHandler extends A... | [MediaBundle] avoid passing null to php method | Kunstmaan_KunstmaanBundlesCMS | train |
a1f5f110c55dd9ac9f49a5ce1fdefc07a7cec0e1 | diff --git a/colors/RGB.php b/colors/RGB.php
index <HASH>..<HASH> 100644
--- a/colors/RGB.php
+++ b/colors/RGB.php
@@ -67,4 +67,17 @@ class RGB
&& abs($this->green - $other->green) < self::comparison_precision
&& abs($this->blue - $other->blue) < self::comparison_precision;
}
+
+ pub... | added colors/RGB::getTuple() and ::getDigitalTuple | fphammerle_php-helpers | train |
fb6f9155dd6fd8f377b8df8f16e84fd85f162d70 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -66,8 +66,11 @@ setup(
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX',
'Programming Language :: Python',
+ 'Programming Language :: Python :: 2.6'
'Programming ... | Updated classifiers to be complete | CTPUG_wafer | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.