hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
4ba372d81321521d77b073e0ef787340d69b8f1c | diff --git a/test/unit/frontend/helpers/match.test.js b/test/unit/frontend/helpers/match.test.js
index <HASH>..<HASH> 100644
--- a/test/unit/frontend/helpers/match.test.js
+++ b/test/unit/frontend/helpers/match.test.js
@@ -148,41 +148,4 @@ describe('Match helper', function () {
shouldCompileToExpected(temp... | Removed accidentally duplicated tests
- this was a result of a bad rebase, these tests should only exist once in their new form | TryGhost_Ghost | train |
aedec0fe9d06021251b8ef480126b4fb322b14e3 | diff --git a/lib/pdk/cli/util.rb b/lib/pdk/cli/util.rb
index <HASH>..<HASH> 100644
--- a/lib/pdk/cli/util.rb
+++ b/lib/pdk/cli/util.rb
@@ -21,6 +21,23 @@ module PDK
{}
end
module_function :spinner_opts_for_platform
+
+ def prompt_for_yes(question_text, opts = {})
+ prompt = opts[:prom... | (maint) Extract the prompt for yes logic into method | puppetlabs_pdk | train |
f9f7fdb9745524a5ddd183d0002f2ea9cc3c32ea | diff --git a/library/src/com/handmark/pulltorefresh/library/PullToRefreshAdapterViewBase.java b/library/src/com/handmark/pulltorefresh/library/PullToRefreshAdapterViewBase.java
index <HASH>..<HASH> 100644
--- a/library/src/com/handmark/pulltorefresh/library/PullToRefreshAdapterViewBase.java
+++ b/library/src/com/handma... | Fix #<I>: OnLastItemVisible being call more than once. | chrisbanes_Android-PullToRefresh | train |
ba12c9a3fddface7e17753993efd80c9d80e586d | diff --git a/src/Loaders/DatabaseLoader.php b/src/Loaders/DatabaseLoader.php
index <HASH>..<HASH> 100644
--- a/src/Loaders/DatabaseLoader.php
+++ b/src/Loaders/DatabaseLoader.php
@@ -39,12 +39,7 @@ class DatabaseLoader extends Loader implements LoaderInterface
*/
public function loadSource($locale, $group, $... | Added loadSource to translation repository.
Refactored DatabaseLoader to use loadSource in TranslationRepository.
Modified DatabaseLoader tests accordingly. | Waavi_translation | train |
b8b2949b5d304dfa2885762addbe4f9caddc4a6b | diff --git a/src/Malenki/Bah/S.php b/src/Malenki/Bah/S.php
index <HASH>..<HASH> 100644
--- a/src/Malenki/Bah/S.php
+++ b/src/Malenki/Bah/S.php
@@ -171,6 +171,7 @@ class S extends O implements \Countable
return $this->chunk();
}
+
if ($name == 'ucw') {
return $this->_upperCa... | Class S: md5 feature | malenkiki_bah | train |
af8f20784691a3291a5284ae3a7a1e5b83c819a8 | diff --git a/rehive/api/resources/admin_resources.py b/rehive/api/resources/admin_resources.py
index <HASH>..<HASH> 100644
--- a/rehive/api/resources/admin_resources.py
+++ b/rehive/api/resources/admin_resources.py
@@ -148,7 +148,7 @@ class APIAdminMobiles(ResourceList):
def create(self, user, number, **kwargs):
... | Remove email from mobile number admin data. Added number field. | rehive_rehive-python | train |
b829717210a069cd4f6124a871352e4e4dfd991f | diff --git a/lib/origen/generator/pattern.rb b/lib/origen/generator/pattern.rb
index <HASH>..<HASH> 100755
--- a/lib/origen/generator/pattern.rb
+++ b/lib/origen/generator/pattern.rb
@@ -235,7 +235,9 @@ module Origen
c2 " Workspace: #{Origen.root}"
if Origen.app.rc && Origen.app.rc.git?
... | Actually, let's cache at the pattern header level rather than the
revision controller | Origen-SDK_origen | train |
cd0be199a4fb3fed9486fc57607571bc8169e8c5 | diff --git a/src/pymop/pymop/applauncher.py b/src/pymop/pymop/applauncher.py
index <HASH>..<HASH> 100644
--- a/src/pymop/pymop/applauncher.py
+++ b/src/pymop/pymop/applauncher.py
@@ -9,7 +9,7 @@ from pymop.io.mpc import MPCWriter
from pymop.io.naming import ProvisionalNameGenerator
from pymop.io.imgaccess import (Asy... | Renamed AstroDataModel to ProcessRealsModel. | OSSOS_MOP | train |
d8488bc74da79beea3ca9a01ffc28c6735217976 | diff --git a/lib/promise.js b/lib/promise.js
index <HASH>..<HASH> 100644
--- a/lib/promise.js
+++ b/lib/promise.js
@@ -5,6 +5,7 @@ const { deprecationLog } = require('./helper');
/**
* @extends Promise
+ * @deprecated
*/
class ZkPromise extends Promise {
/** | fix: set deprecated for entire legacy Promise class | yfinkelstein_node-zookeeper | train |
9c3b4594c0d703383c121ee9914d170a74eec33a | diff --git a/jupyterthemes/__init__.py b/jupyterthemes/__init__.py
index <HASH>..<HASH> 100644
--- a/jupyterthemes/__init__.py
+++ b/jupyterthemes/__init__.py
@@ -8,7 +8,7 @@ import os
import argparse
from glob import glob
import lesscpy
-__version__ = '0.7.5'
+__version__ = '0.7.6'
# juypter config and package d... | removed spacelegos, version bump | dunovank_jupyter-themes | train |
ac59200821207c14670040bb2ed191eabdd10ad7 | diff --git a/MAVProxy/modules/mavproxy_wp.py b/MAVProxy/modules/mavproxy_wp.py
index <HASH>..<HASH> 100644
--- a/MAVProxy/modules/mavproxy_wp.py
+++ b/MAVProxy/modules/mavproxy_wp.py
@@ -16,8 +16,9 @@ class WPModule(mp_module.MPModule):
self.loading_waypoint_lasttime = time.time()
self.last_waypoint =... | wp: support terrain alt missions | ArduPilot_MAVProxy | train |
993dceea2f84c6f43ca0da7bcd7123ea873ed5ab | diff --git a/test/driver.js b/test/driver.js
index <HASH>..<HASH> 100644
--- a/test/driver.js
+++ b/test/driver.js
@@ -84,7 +84,7 @@ function runTests(callback) {
if (expFail) callback("expected", test.name);
else if (e instanceof Failure) callback("fail", test.name, e.message);
else {
- var... | [tests] Support the other format of error.stack
This makes error.stack parsing work in Firefox and Opera <I>-, and maybe in Safari too (didn't test). | codemirror_CodeMirror | train |
33485d10b6e6508f6eabde969e96d4fb1201382f | diff --git a/CHANGELOG.md b/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,10 @@
## WIP
+### Added
+
+- Toggable triggers 'shown'/'hidden' events, when animations complete
+
### Fixed
- Fix component initialization
diff --git a/src/js/core/scroll.js b/src/js/core/scro... | Toggable triggers 'shown'/'hidden' events, when animations complete | uikit_uikit | train |
e533637ae1c63cb0545e509360bae338bab82e14 | diff --git a/.rubocop.yml b/.rubocop.yml
index <HASH>..<HASH> 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -10,3 +10,6 @@ Style/TrailingComma:
Style/BlockDelimiters:
Enabled: false
+
+Style/FormatString:
+ Enabled: false
diff --git a/lib/loga/rack/logger.rb b/lib/loga/rack/logger.rb
index <HASH>..<HASH> 10064... | Improve Rack request message
Provide additional information such as status and duration in the message.
```
// Before
GET /hello
// After
GET /hello <I> in 5ms
``` | FundingCircle_loga | train |
e69743f6fd95ff02a5e13facb05479572f584121 | diff --git a/release.sh b/release.sh
index <HASH>..<HASH> 100755
--- a/release.sh
+++ b/release.sh
@@ -1,8 +1,11 @@
#!/bin/bash
+# pip release scripts that auto-updates version number and keeps trying until successful
#set -x
set -u
+i=0
while true
do
+ i=$[i+1]
output=$(grep version= setup.py | awk -F'=' '{prin... | bugfix for sends with leading spaces | ianmiell_shutit | train |
579da2cc7133f67e6bbec67a26e80400c696b2b3 | diff --git a/app/classes/lib.php b/app/classes/lib.php
index <HASH>..<HASH> 100644
--- a/app/classes/lib.php
+++ b/app/classes/lib.php
@@ -99,7 +99,7 @@ function cleanPostedData($var, $stripslashes = true)
$var = str_replace("\t", " ", $var);
// prune control characters
- $var = preg_repla... | Temporary workaround for editing files.
ref <I>eb<I>b<I>ea<I>dbe<I>ab<I>c | bolt_bolt | train |
738cda347c8a6f7059a72cb683104066d6e3ba0b | diff --git a/flink-tests/src/test/java/org/apache/flink/test/recovery/AbstractTaskManagerProcessFailureRecoveryTest.java b/flink-tests/src/test/java/org/apache/flink/test/recovery/AbstractTaskManagerProcessFailureRecoveryTest.java
index <HASH>..<HASH> 100644
--- a/flink-tests/src/test/java/org/apache/flink/test/recover... | [FLINK-<I>][tests] Enable AbstractTaskManagerProcessFailureRecoveryTest to pass with new DefaultScheduler
This closes #<I>. | apache_flink | train |
e0ed21a437d55e86f81e01f077cea92963d97669 | diff --git a/eZ/Publish/API/Repository/Tests/BaseTest.php b/eZ/Publish/API/Repository/Tests/BaseTest.php
index <HASH>..<HASH> 100644
--- a/eZ/Publish/API/Repository/Tests/BaseTest.php
+++ b/eZ/Publish/API/Repository/Tests/BaseTest.php
@@ -93,9 +93,9 @@ abstract class BaseTest extends PHPUnit_Framework_TestCase
... | Fixed: Expect that the init script returns a ready to use repository | ezsystems_ezpublish-kernel | train |
73256843be7c95f5d01135b13f7d82cbfd3f1235 | diff --git a/testsuite/integration/manualmode/src/test/java/org/jboss/as/test/manualmode/web/ssl/HTTPSWebConnectorTestCase.java b/testsuite/integration/manualmode/src/test/java/org/jboss/as/test/manualmode/web/ssl/HTTPSWebConnectorTestCase.java
index <HASH>..<HASH> 100644
--- a/testsuite/integration/manualmode/src/test... | [WFLY-<I>] / [WFLY-<I>] Remove PicketBox use from already ignored test. | wildfly_wildfly | train |
d0f92f573f61c11d9cc60d6df88730c8f6571af3 | diff --git a/setup/test_integration.py b/setup/test_integration.py
index <HASH>..<HASH> 100644
--- a/setup/test_integration.py
+++ b/setup/test_integration.py
@@ -13,7 +13,7 @@ def rethink():
except KeyError:
tag="latest"
CLIENT.containers.run("".join(("ramrodpcp/database-brain:",tag)), name="rethink... | removed ,contains, extended sleep | ramrod-project_database-brain | train |
272f2e86a334409e21c4647b177eb869ed18d133 | diff --git a/db/db_sql_test.go b/db/db_sql_test.go
index <HASH>..<HASH> 100644
--- a/db/db_sql_test.go
+++ b/db/db_sql_test.go
@@ -996,16 +996,13 @@ var _ = Describe("SqlDB", func() {
Context("when db connection is successful", func() {
Context("when all routes have expired", func() {
- It("should prune ... | Combined SQL db prune route tests | cloudfoundry_routing-api | train |
6e21169b1a6304b63e00ff31976641254cdb00dc | diff --git a/src/main/java/de/btobastian/javacord/utils/handler/user/PresenceUpdateHandler.java b/src/main/java/de/btobastian/javacord/utils/handler/user/PresenceUpdateHandler.java
index <HASH>..<HASH> 100644
--- a/src/main/java/de/btobastian/javacord/utils/handler/user/PresenceUpdateHandler.java
+++ b/src/main/java/de... | Fix warning of PRESENT_UPDATE | Javacord_Javacord | train |
a7736880fcd5c7ee1c6a740520c6735f3cbc9f3e | diff --git a/src/SAML2/Attribute/Attribute.php b/src/SAML2/Attribute/Attribute.php
index <HASH>..<HASH> 100644
--- a/src/SAML2/Attribute/Attribute.php
+++ b/src/SAML2/Attribute/Attribute.php
@@ -18,8 +18,6 @@
namespace Surfnet\SamlBundle\SAML2\Attribute;
-use UnexpectedValueException;
-
class Attribute
{
/*... | Remove Multiplicity from AttributeDefinition
The SAML2 specification does not make any mention
of multiplicity. Furthermore the functionality
was used sparsely if at all and should not have
been relied on as it was configuration based,
which could have changed causing a BC break in
and of itself as an Attribute could ... | OpenConext_Stepup-saml-bundle | train |
249b43a4121153e11fca31995142132a13dad4ae | diff --git a/src/main/java/io/openliberty/tools/ant/ServerTask.java b/src/main/java/io/openliberty/tools/ant/ServerTask.java
index <HASH>..<HASH> 100644
--- a/src/main/java/io/openliberty/tools/ant/ServerTask.java
+++ b/src/main/java/io/openliberty/tools/ant/ServerTask.java
@@ -458,7 +458,14 @@ public class ServerTask ... | handle embedded spaces in archive path (#<I>)
* escape embedded quotes
* try quoting entire archive option
* recreate initial error
* quote archive option and no embedded quotes | WASdev_ci.ant | train |
56e806420556de546c15d4a66a182ee398fe09c7 | diff --git a/test_flake8_future_import.py b/test_flake8_future_import.py
index <HASH>..<HASH> 100644
--- a/test_flake8_future_import.py
+++ b/test_flake8_future_import.py
@@ -4,7 +4,9 @@ import ast
import codecs
import itertools
import os
+import pip
import re
+import subprocess
import tempfile
import unittest
... | [FEAT] Do tests directly with flake8
Instead of just calling the class or `main` it should be also run with `flake8`
in case it doesn't use the class as expected. To do that it either checks if
it's installed using `pip` in the right location. Otherwise it installs it if
`TEST_FLAKE8_INSTALL` is set to `1`. Afterwards... | xZise_flake8-future-import | train |
765988dd67f3bc76bd694cec433d5b7a27b4b6b5 | diff --git a/code/view/abstract.php b/code/view/abstract.php
index <HASH>..<HASH> 100644
--- a/code/view/abstract.php
+++ b/code/view/abstract.php
@@ -316,10 +316,6 @@ abstract class KViewAbstract extends KObject implements KViewInterface, KCommand
{
if(!$this->_model instanceof KModelInterface)
... | re #<I> : View idenitifier is already set through constructor. | timble_kodekit | train |
7642cfa823782bdd10d50fa37f80c32170e4432b | diff --git a/core-bundle/src/Resources/contao/widgets/PageSelector.php b/core-bundle/src/Resources/contao/widgets/PageSelector.php
index <HASH>..<HASH> 100644
--- a/core-bundle/src/Resources/contao/widgets/PageSelector.php
+++ b/core-bundle/src/Resources/contao/widgets/PageSelector.php
@@ -170,7 +170,7 @@ class PageSel... | [Core] Make sure the user has access to the root nodes set | contao_contao | train |
51aecd2c6283667bed73c911477b09a421eb3998 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -37,6 +37,7 @@ Decidim::User.find_each(&:add_to_index_as_search_resource)
- **decidim-core**: Fix followable type for Decidim::Accountability::Result. [\#3798](https://github.com/decidim/decidim/pull/3798)
- ... | Don't crash when a page doesn't exist (#<I>)
* Don't crash when a page doesn't exist. Closes #<I>
* Raise error instead of redirecting to <I>
* Add CHANGELOG | decidim_decidim | train |
f63d13ed9285d0f6aa0b7857f5749e5c35307791 | diff --git a/profile/profile_default/static/genepattern/navigation.js b/profile/profile_default/static/genepattern/navigation.js
index <HASH>..<HASH> 100644
--- a/profile/profile_default/static/genepattern/navigation.js
+++ b/profile/profile_default/static/genepattern/navigation.js
@@ -742,14 +742,23 @@ GenePattern.not... | Bug fix preventing "double pop-ups" when selecting "View Code Use" | genepattern_genepattern-notebook | train |
1ef1eacf1759d11e54b441cfdc5a30ef5d5c0fea | diff --git a/src/collectors/postgres/postgres.py b/src/collectors/postgres/postgres.py
index <HASH>..<HASH> 100644
--- a/src/collectors/postgres/postgres.py
+++ b/src/collectors/postgres/postgres.py
@@ -71,11 +71,17 @@ class PostgresqlCollector(diamond.collector.Collector):
for klass in metrics.itervalues():
... | Override publish method to skip falsey or 0 values | python-diamond_Diamond | train |
c8344e49bd5d2fd7ce2e23517696e84a759160e0 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -110,13 +110,12 @@ Peer.prototype._setupData = function (event) {
var self = this
this._channel.onmessage = function (event) {
console.log('[datachannel] ' + event.data)
- self.emit('message', event.data)
tr... | do not emit 'message:type' events
This assumes too much about the user’s app | feross_simple-peer | train |
a443ddc31d4cd9be380149f24ea0c9277b312499 | diff --git a/openquake/common/record.py b/openquake/common/record.py
index <HASH>..<HASH> 100644
--- a/openquake/common/record.py
+++ b/openquake/common/record.py
@@ -432,10 +432,16 @@ class Table(collections.MutableSequence):
"""Return the i-th record"""
return self._records[i]
- def __setitem__... | Added validation; improved situation about unique constraint | gem_oq-engine | train |
9d1a832109b2c6fbe0bcc7d8e5306d0140d26a4c | diff --git a/src/scs_core/aws/monitor/device_monitor.py b/src/scs_core/aws/monitor/device_monitor.py
index <HASH>..<HASH> 100644
--- a/src/scs_core/aws/monitor/device_monitor.py
+++ b/src/scs_core/aws/monitor/device_monitor.py
@@ -12,6 +12,7 @@ from collections import OrderedDict
from botocore.exceptions import Client... | Device monitor now accepts any number of recipients | south-coast-science_scs_core | train |
dcc5eaa95eb37c496787ce4ecbd760b7c66841c5 | diff --git a/lib/6to5/transformers/destructuring.js b/lib/6to5/transformers/destructuring.js
index <HASH>..<HASH> 100644
--- a/lib/6to5/transformers/destructuring.js
+++ b/lib/6to5/transformers/destructuring.js
@@ -42,6 +42,8 @@ var pushArrayPattern = function (kind, nodes, pattern, parentId) {
if (elem.type ===... | support MemberExpressions in destructuring - fixes #<I> | babel_babel | train |
9856ac7fafc358e2e558a7f9efdd90bc7a9f09c0 | diff --git a/docs/log-files.adoc b/docs/log-files.adoc
index <HASH>..<HASH> 100644
--- a/docs/log-files.adoc
+++ b/docs/log-files.adoc
@@ -42,6 +42,7 @@ The following statuses are available:
| INVALID_VNC_REQUEST_URL | VNC request URL do not contain enough information to determine upstream host
| INVALID_VIDEO_REQUE... | Logging proxy requests in verbose mode (fixes #<I>) | aerokube_ggr | train |
5921719e3bfc7861251c8161cfa02ab189b59015 | diff --git a/src/Storage/Entity/ContentValuesTrait.php b/src/Storage/Entity/ContentValuesTrait.php
index <HASH>..<HASH> 100644
--- a/src/Storage/Entity/ContentValuesTrait.php
+++ b/src/Storage/Entity/ContentValuesTrait.php
@@ -487,8 +487,21 @@ trait ContentValuesTrait
}
}
- ... | Fixes #<I> by passing all the posted taxonomy values through the standard `setTaxonomy` method | bolt_bolt | train |
2b60dd935433526172a18cc36c33f7dc21c5bde8 | diff --git a/lib/auth/auth_with_roles.go b/lib/auth/auth_with_roles.go
index <HASH>..<HASH> 100644
--- a/lib/auth/auth_with_roles.go
+++ b/lib/auth/auth_with_roles.go
@@ -893,18 +893,6 @@ func (a *AuthWithRoles) UpsertTrustedCluster(tc services.TrustedCluster) error {
if err := a.action(defaults.Namespace, services.K... | Removed cert authority and reverse tunnel permission check for
trusted clusters. | gravitational_teleport | train |
ef6b9279a4cda0bf76bf78d04e7d524e7a2b0a75 | diff --git a/watch.go b/watch.go
index <HASH>..<HASH> 100644
--- a/watch.go
+++ b/watch.go
@@ -55,10 +55,10 @@ func (client *Client) Watch(options *WatchOptions) *Watcher {
watcher := &Watcher{
client: client,
options: options,
- Error: make(chan error),
+ Error: make(chan error, 1),
... | Define buffers to see errors in transloadify | transloadit_go-sdk | train |
c3523ebe046baa6669e7f50a807d1f2f63891a51 | diff --git a/aiounifi/controller.py b/aiounifi/controller.py
index <HASH>..<HASH> 100644
--- a/aiounifi/controller.py
+++ b/aiounifi/controller.py
@@ -158,6 +158,7 @@ class Controller:
) as res:
print(res)
if res.content_type != "application/json":
+ LOG... | Add debug print when receiving unexpected content type | Kane610_aiounifi | train |
25af299e2d5c8b7cc8b6e6e5be411a0171db1cae | diff --git a/tests/NotificationBagTest.php b/tests/NotificationBagTest.php
index <HASH>..<HASH> 100644
--- a/tests/NotificationBagTest.php
+++ b/tests/NotificationBagTest.php
@@ -552,4 +552,19 @@ class NotificationBagTest extends PHPUnit_Framework_TestCase
$this->assertCount(0, $this->bag->all());
}
+
+... | Adde one more test for notification bag | edvinaskrucas_notification | train |
c1f005f0fffd6ee2f9be63ec9b6535e9bec2ad5c | diff --git a/app/models/esrf_info.rb b/app/models/esrf_info.rb
index <HASH>..<HASH> 100644
--- a/app/models/esrf_info.rb
+++ b/app/models/esrf_info.rb
@@ -1,3 +1,4 @@
class EsrfInfo < ActiveRecord::Base
belongs_to :patient
+ belongs_to :prd_code
end
diff --git a/app/models/prd_code.rb b/app/models/prd_code.rb
ind... | set up associations for prd codes/esrf info | airslie_renalware-core | train |
278f9a54c60c7d35971142fbe55ecd50368fcba0 | diff --git a/generators/email_spec/templates/email_steps.rb b/generators/email_spec/templates/email_steps.rb
index <HASH>..<HASH> 100644
--- a/generators/email_spec/templates/email_steps.rb
+++ b/generators/email_spec/templates/email_steps.rb
@@ -68,4 +68,7 @@ When %r{^"([^']*?)" opens? the email with text "([^']*?)"$}... | added 'I click the first link in the email' step definition | email-spec_email-spec | train |
af3a42082cdd0aa6b13285c6a56beb940b431e81 | diff --git a/packages/build-tools/create-webpack-config.js b/packages/build-tools/create-webpack-config.js
index <HASH>..<HASH> 100644
--- a/packages/build-tools/create-webpack-config.js
+++ b/packages/build-tools/create-webpack-config.js
@@ -306,7 +306,7 @@ async function createWebpackConfig(buildConfig) {
... | chore: minor Webpack config updates (ex. remove cache-loader due to issues encountered when building out and testing Icon work) | bolt-design-system_bolt | train |
f0d40b4e1fc57c82f142fb483c8b0618369b7aa7 | diff --git a/example/shapes/main.go b/example/shapes/main.go
index <HASH>..<HASH> 100644
--- a/example/shapes/main.go
+++ b/example/shapes/main.go
@@ -27,7 +27,7 @@ const (
func update(screen *ebiten.Image) error {
for i := 0; i < 6; i++ {
- screen.DrawRect(float64(2*i), float64(2*i), 100, 100, color.NRGBA{0x80, ... | Revert rectangles' vetices (float<I> -> int) | hajimehoshi_ebiten | train |
b2e1c0c0458674ab5abf39d6d8d04d8e0d77d5cc | diff --git a/fireplace/cards/karazhan/collectible.py b/fireplace/cards/karazhan/collectible.py
index <HASH>..<HASH> 100644
--- a/fireplace/cards/karazhan/collectible.py
+++ b/fireplace/cards/karazhan/collectible.py
@@ -177,8 +177,9 @@ class KAR_075:
"Moonglade Portal"
play = Heal(TARGET, 6), Summon(CONTROLLER, Rand... | Implement "Firelands Portal" with test
KAR_<I> | jleclanche_fireplace | train |
d72806ca258b667f44f01e6cee70fc8a17262da1 | diff --git a/src/Monolog/Processor/IntrospectionProcessor.php b/src/Monolog/Processor/IntrospectionProcessor.php
index <HASH>..<HASH> 100644
--- a/src/Monolog/Processor/IntrospectionProcessor.php
+++ b/src/Monolog/Processor/IntrospectionProcessor.php
@@ -93,7 +93,7 @@ class IntrospectionProcessor
private functio... | Would have, could have. Why not. | Seldaek_monolog | train |
737a62482d9892e0cce94ec698d0c25f0ea1d143 | diff --git a/lib/core.js b/lib/core.js
index <HASH>..<HASH> 100644
--- a/lib/core.js
+++ b/lib/core.js
@@ -83,6 +83,16 @@ module.exports = function(type, properties, store) {
})
}
+ /** Find an object or make a new unsaved one if it doesn't exist
+ */
+ Model.find_or_new = function(id, cb) {
+ Model... | added skip, only option to toJSON | weepy_mmmodel | train |
3886d68de3de7a42cf48aa8142ee613db4a623b6 | diff --git a/physical/zookeeper.go b/physical/zookeeper.go
index <HASH>..<HASH> 100644
--- a/physical/zookeeper.go
+++ b/physical/zookeeper.go
@@ -26,7 +26,7 @@ const (
type ZookeeperBackend struct {
path string
client *zk.Conn
- acl []zk.ACL
+ acl []zk.ACL
}
// newZookeeperBackend constructs a Zoo... | 1. gofmt
2. Change if expr syntax to be consist with the rest of Vault code
3. More details on error message | hashicorp_vault | train |
e4cb93f23264b1c80d45c8d6cddf0a980aa17a8d | diff --git a/src/javascript/file/FileInput.js b/src/javascript/file/FileInput.js
index <HASH>..<HASH> 100644
--- a/src/javascript/file/FileInput.js
+++ b/src/javascript/file/FileInput.js
@@ -198,6 +198,15 @@ define('moxie/file/FileInput', [
@type {String}
*/
ruid: null,
+
+ /**
+ Unique id of the runtim... | FileInput: Expose uid of the runtime container.
Useful to get hold of it for various manipulations. | moxiecode_moxie | train |
f2c9cc17df4c3cd84d43db0f15d9dab030b84667 | diff --git a/src/app/components/kbn.js b/src/app/components/kbn.js
index <HASH>..<HASH> 100644
--- a/src/app/components/kbn.js
+++ b/src/app/components/kbn.js
@@ -430,28 +430,28 @@ function($, _, moment) {
ext = " B";
break;
case 1:
- ext = " KB";
+ ext = " KiB";
break;
case 2:
... | #Closes #<I>, changed byte and bit formats to conform with IEC standard symbols, like Kib, Mib for bits, and KiB, MiB, GiB for bytes | grafana_grafana | train |
99bf386d1301b2c051e0144a00faae4ee9a5ab19 | diff --git a/quilt_server/views.py b/quilt_server/views.py
index <HASH>..<HASH> 100644
--- a/quilt_server/views.py
+++ b/quilt_server/views.py
@@ -1131,8 +1131,20 @@ def payments_update_plan(auth_user):
except ValueError:
raise ApiException(requests.codes.bad_request, "Invalid plan: %r" % plan)
+ str... | Make it possible to update payment and plan in a single call | quiltdata_quilt | train |
edaad1561f854dc17cdfcd34ec4e031228d4d24f | diff --git a/shared/actions/notifications.js b/shared/actions/notifications.js
index <HASH>..<HASH> 100644
--- a/shared/actions/notifications.js
+++ b/shared/actions/notifications.js
@@ -75,7 +75,6 @@ function _onRecievedBadgeState(action: NotificationsGen.ReceivedBadgeStatePayloa
teamsWithResetUsers: teamsWit... | fs: Remove favorites listing trigger from badge state notification (#<I>) | keybase_client | train |
a3bd5fa7fef471246fe3f22983d6931bbb334dbf | diff --git a/docs/collectors/LoadAverageCollector.md b/docs/collectors/LoadAverageCollector.md
index <HASH>..<HASH> 100644
--- a/docs/collectors/LoadAverageCollector.md
+++ b/docs/collectors/LoadAverageCollector.md
@@ -26,8 +26,11 @@ simple | False | Only collect the 1 minute load average | str
```
servers.hostname... | Add `_normalized` metrics for loadaverage
Normalized is the load average divided by the number of CPU's
A normalized load average of 1 = all CPU's at <I>% usage | python-diamond_Diamond | train |
9fd4d3c008eaa8bf9de767ca4afef57295474e96 | diff --git a/Password/Simple.php b/Password/Simple.php
index <HASH>..<HASH> 100644
--- a/Password/Simple.php
+++ b/Password/Simple.php
@@ -142,7 +142,7 @@ class Simple implements PasswordInterface
}
// Check if the hash is a Joomla hash.
- if (preg_match('#[a-z0-9]{32}:[A-Za-z0-9]{32}#', $hash) === 1)
+ if (p... | Fix verify hash to properly recognize Joomla password hashes | joomla-framework_crypt | train |
eb36c1aadc704e02d84c0fe5b6ea0269deef7870 | diff --git a/go/libkb/features.go b/go/libkb/features.go
index <HASH>..<HASH> 100644
--- a/go/libkb/features.go
+++ b/go/libkb/features.go
@@ -156,6 +156,14 @@ func (s *FeatureFlagSet) EnabledWithError(m MetaContext, f Feature) (on bool, er
"features": S{Val: string(f)},
}
err = m.G().API.GetDecode(m, arg, &raw)... | no features for logged-out users (#<I>) | keybase_client | train |
4e551d1d155cecb523c7026f8d98712cffc707c4 | diff --git a/packages/scroll-pane/ScrollPane.js b/packages/scroll-pane/ScrollPane.js
index <HASH>..<HASH> 100644
--- a/packages/scroll-pane/ScrollPane.js
+++ b/packages/scroll-pane/ScrollPane.js
@@ -190,6 +190,7 @@ class ScrollPane extends Component {
let mouseBounds = getRelativeMouseBounds(e, contentContainerEl)... | Update scrollbar whenever a context menu has been opened. | substance_substance | train |
11b919ab4933936a28fb6aeda5c6523091266f37 | diff --git a/export.go b/export.go
index <HASH>..<HASH> 100644
--- a/export.go
+++ b/export.go
@@ -8,7 +8,7 @@ import (
"net/mail"
"time"
- "gopkg.in/alexcesaro/quotedprintable.v1"
+ "gopkg.in/alexcesaro/quotedprintable.v2"
)
// Export converts the message into a net/mail.Message. | remove dependency to quotedprintable.v1
since the v2 is already used in gomail.go
Closes #<I>. | go-gomail_gomail | train |
f918de6a4636f0b91b4ff35493a4b7291463da57 | diff --git a/lib/koala/uploadable_io.rb b/lib/koala/uploadable_io.rb
index <HASH>..<HASH> 100644
--- a/lib/koala/uploadable_io.rb
+++ b/lib/koala/uploadable_io.rb
@@ -95,7 +95,7 @@ module Koala
def use_simple_detection(filename)
# very rudimentary extension analysis for images
# first, get the ... | Adding support for mime parsing of filename with more than one dot | arsduo_koala | train |
2a0253ba936c7d9afdb538d9f43540473244cdfa | diff --git a/src/Exportable.php b/src/Exportable.php
index <HASH>..<HASH> 100644
--- a/src/Exportable.php
+++ b/src/Exportable.php
@@ -103,6 +103,8 @@ trait Exportable
$this->writeRowsFromCollection($writer, $collection, $callback);
} elseif ($collection instanceof Generator) {
... | add support for array as input (#<I>) | rap2hpoutre_fast-excel | train |
a8a406290b813afc37d3f9fcddc5e562632a6396 | diff --git a/dashboard-mongo/src/main/java/com/xqbase/metric/dashboard/DashboardApi.java b/dashboard-mongo/src/main/java/com/xqbase/metric/dashboard/DashboardApi.java
index <HASH>..<HASH> 100644
--- a/dashboard-mongo/src/main/java/com/xqbase/metric/dashboard/DashboardApi.java
+++ b/dashboard-mongo/src/main/java/com/xqb... | Infinity aggregation bugfix | xqbase_metric | train |
e4d6c35a77e9a4af4472e25c2547e096a86a6324 | diff --git a/lib/jenkins_api_client/build_queue.rb b/lib/jenkins_api_client/build_queue.rb
index <HASH>..<HASH> 100644
--- a/lib/jenkins_api_client/build_queue.rb
+++ b/lib/jenkins_api_client/build_queue.rb
@@ -48,18 +48,31 @@ module JenkinsApi
#
def list_tasks
response_json = @client.api_get_req... | [BuildQueue] added get_age and get_details | arangamani_jenkins_api_client | train |
ec2eaf720bd15f61206d6c7abe09b641253b7923 | diff --git a/sitetree/sitetreeapp.py b/sitetree/sitetreeapp.py
index <HASH>..<HASH> 100644
--- a/sitetree/sitetreeapp.py
+++ b/sitetree/sitetreeapp.py
@@ -200,7 +200,7 @@ def register_dynamic_trees(trees, *args, **kwargs):
trees = [trees]
trees.extend(args)
- for tree in trees:
+ for tree in t... | register_dynamic_trees() now handles non-iterables in 'trees' arg. | idlesign_django-sitetree | train |
d66da1078acc072c19188b54dcfc68eab0adcdbf | diff --git a/tests/test_equations.py b/tests/test_equations.py
index <HASH>..<HASH> 100644
--- a/tests/test_equations.py
+++ b/tests/test_equations.py
@@ -43,10 +43,10 @@ class Test_starLuminosity(unittest.TestCase):
R_s = 1 * aq.R_s
T_eff_s = 5780 * pq.degK
- answer = 3.891440112409585e+26 *... | changed aserrtequal to almost equal for float test on sun | ryanvarley_ExoData | train |
7e2520c02aeefec6681dcc23094f9dba39086e23 | diff --git a/dvc/parsing/__init__.py b/dvc/parsing/__init__.py
index <HASH>..<HASH> 100644
--- a/dvc/parsing/__init__.py
+++ b/dvc/parsing/__init__.py
@@ -246,11 +246,6 @@ class EntryDefinition:
definition = deepcopy(self.definition)
wdir = self._resolve_wdir(context, name, definition.get(WDIR_KWD))... | Cleanup debug log messages when loading stages (#<I>)
* Cleanup log messages when loading stages
1. Simplified callback stage debug message
2. Reduced no lock entry message to trace
If lockfile does not have some entry, it will simply complain
that lockfile is not uptodate once.
If there is no lockfile... | iterative_dvc | train |
114ca57746d334228c6674bbf59fd89915a185c0 | diff --git a/lib/fakefs/file.rb b/lib/fakefs/file.rb
index <HASH>..<HASH> 100644
--- a/lib/fakefs/file.rb
+++ b/lib/fakefs/file.rb
@@ -35,6 +35,10 @@ module FakeFS
RealFile.join(parts)
end
+ def self.path(file)
+ RealFile.path(file)
+ end
+
def self.exist?(path)
if File.symlink?(pat... | Added fake File.path() method with a test for method existance and a test for returning correct value | fakefs_fakefs | train |
49508a39858c93ff0fc1ef7161fb58062c0d8f55 | diff --git a/autofit/optimize/non_linear/paths.py b/autofit/optimize/non_linear/paths.py
index <HASH>..<HASH> 100644
--- a/autofit/optimize/non_linear/paths.py
+++ b/autofit/optimize/non_linear/paths.py
@@ -181,11 +181,11 @@ class Paths:
"""
return "{}pdf/".format(self.image_path)
- def make_opti... | optimizer pickle renamed to non linear pickle | rhayes777_PyAutoFit | train |
9a74fa53c0e737e4f6d0b5348e62a5f225d97327 | diff --git a/rdopkg/guess.py b/rdopkg/guess.py
index <HASH>..<HASH> 100644
--- a/rdopkg/guess.py
+++ b/rdopkg/guess.py
@@ -2,11 +2,10 @@ import os
import re
import exception
-from utils.cmd import run, git, GerritQuery
+from utils.cmd import git, GerritQuery
from utils import specfile
from utils import log
from ... | lint - F<I> imported but unused in guess.py
Change-Id: I<I>bbe<I>f<I>ede<I>a<I>faf<I>eb3e0f4 | softwarefactory-project_rdopkg | train |
2f2b66e21f2c2e8c41377aee1335134f7b81c938 | diff --git a/core/metrics-core-service/src/main/java/org/hawkular/metrics/core/service/MetricsServiceImpl.java b/core/metrics-core-service/src/main/java/org/hawkular/metrics/core/service/MetricsServiceImpl.java
index <HASH>..<HASH> 100644
--- a/core/metrics-core-service/src/main/java/org/hawkular/metrics/core/service/M... | [HWKMETRICS-<I>] Attempt to fix MixedMetricsITest failures due to changes to delete metric implementation. | hawkular_hawkular-metrics | train |
3975885dad0d4f5720f6c6cf28c3ca1d446c310c | diff --git a/src/Decorator/DecoratorManager.php b/src/Decorator/DecoratorManager.php
index <HASH>..<HASH> 100644
--- a/src/Decorator/DecoratorManager.php
+++ b/src/Decorator/DecoratorManager.php
@@ -27,10 +27,11 @@ class DecoratorManager
{
$decorators = $this->decorators[$type] ?? [];
- /** @var IDecorator $dec... | Cannot pass null to next decorator - IDecorator do not accept it | apitte_core | train |
8713f859a44b5d91b49b81f8ad4a87cd867a21cf | diff --git a/selene/core/match.py b/selene/core/match.py
index <HASH>..<HASH> 100644
--- a/selene/core/match.py
+++ b/selene/core/match.py
@@ -22,15 +22,15 @@
import warnings
from typing import List, Any
-from selene.core import query
from selene.common import predicate
+from selene.core import query
from selene.... | fix selene/core/match.py:<I>:5: E<I> continuation line with same indent as next logical line | yashaka_selene | train |
5a66d2c51582dae83a3287dc141b8cc74b6c534a | diff --git a/lib/assets/Asset.js b/lib/assets/Asset.js
index <HASH>..<HASH> 100644
--- a/lib/assets/Asset.js
+++ b/lib/assets/Asset.js
@@ -439,10 +439,11 @@ extendWithGettersAndSetters(Asset.prototype, {
delete this._rawSrc; // Hmm, this doesn't make sense for assets.Asset, now does it?
if (this.isInl... | Asset.markDirty: Also allow inline assets to have zero incoming relations, as long as they don't have more than one we'll be fine. | assetgraph_assetgraph | train |
18b5c4a29e7c07d52e0551e5866f9285e7eadd81 | diff --git a/tests/e2e/conftest.py b/tests/e2e/conftest.py
index <HASH>..<HASH> 100644
--- a/tests/e2e/conftest.py
+++ b/tests/e2e/conftest.py
@@ -99,11 +99,15 @@ def pytest_generate_tests(metafunc):
test is called once for each value found in the `E2E_WEBDRIVER_BROWSERS`
environment variable.
"""
+ b... | tests: E2E tests disabled locally by default
* Disables E2E tests locally by default. They can still be run by
setting E2E_WEBDRIVER_BROWSERS. | inveniosoftware_invenio-accounts | train |
2e0e135ab868d52304477f12f408c17fdb3c5483 | diff --git a/cnxpublishing/db.py b/cnxpublishing/db.py
index <HASH>..<HASH> 100644
--- a/cnxpublishing/db.py
+++ b/cnxpublishing/db.py
@@ -645,7 +645,7 @@ RETURNING id
def _check_pending_document_license_state(cursor, document_id):
"""Check the aggregate state on the pending document."""
cursor.execute("""\
... | Publish documents only if all users have accepted the license
The original code for checking the state of license acceptance was
```
SELECT bool_and(accepted)
FROM
pending_documents AS pd,
license_acceptances AS la
WHERE
pd.id = %s
AND
pd.uuid = la.uuid
```
which returns true if accepted is true and null. ... | openstax_cnx-publishing | train |
4f3aa431392e3c01ba67d4b33149a2c8f8bedd62 | diff --git a/tests/providers/google/cloud/operators/test_datastore_system.py b/tests/providers/google/cloud/operators/test_datastore_system.py
index <HASH>..<HASH> 100644
--- a/tests/providers/google/cloud/operators/test_datastore_system.py
+++ b/tests/providers/google/cloud/operators/test_datastore_system.py
@@ -31,7 ... | Change location of bucket creation for Datastore (#<I>) | apache_airflow | train |
99fa0c26aa30370c1c2f28ad370adbccb7ed70da | diff --git a/client.go b/client.go
index <HASH>..<HASH> 100644
--- a/client.go
+++ b/client.go
@@ -1277,7 +1277,7 @@ func (cl *Client) peerHasAll(t *torrent, cn *connection) {
cn.PeerPieces = nil
if t.haveInfo() {
for i := 0; i < t.numPieces(); i++ {
- cl.peerGotPiece(t, cn, i)
+ cn.peerGotPiece(i)
}
}
... | Make peerGotPiece a method on connection | anacrolix_torrent | train |
f37ab1eebc00cc09f28bafcb0245e4352a271a89 | diff --git a/troposphere/rds.py b/troposphere/rds.py
index <HASH>..<HASH> 100644
--- a/troposphere/rds.py
+++ b/troposphere/rds.py
@@ -173,6 +173,7 @@ class DBInstance(AWSObject):
'DBSecurityGroups': (list, False),
'DBSnapshotIdentifier': (basestring, False),
'DBSubnetGroupName': (basestring,... | Add DeleteAutomatedBackups to RDS DBInstance (#<I>)
This was part of the Nov. <I> update:
> Use the DeleteAutomatedBackups property to indicate whether automated backups
> should be deleted (true) or retained (false) when you delete a DB instance.
> The default is true. | cloudtools_troposphere | train |
bcd39900b385c68dba706f514aa9f9ab3558bef6 | diff --git a/pkg/cloudprovider/providers/gce/gce.go b/pkg/cloudprovider/providers/gce/gce.go
index <HASH>..<HASH> 100644
--- a/pkg/cloudprovider/providers/gce/gce.go
+++ b/pkg/cloudprovider/providers/gce/gce.go
@@ -1323,11 +1323,13 @@ func (gce *GCECloud) ListSslCertificates() (*compute.SslCertificateList, error)
/... | Modify Create/SetGlobalForwardingRule to just take a link. | kubernetes_kubernetes | train |
1150aeb896bd62ab7d2c62936d5b911da53ea67f | diff --git a/lib/testing/classes/util.php b/lib/testing/classes/util.php
index <HASH>..<HASH> 100644
--- a/lib/testing/classes/util.php
+++ b/lib/testing/classes/util.php
@@ -121,7 +121,7 @@ abstract class testing_util {
/**
* Returns whether test database and dataroot were created using the current version ... | MDL-<I> testing: Removing wrong comments | moodle_moodle | train |
9f2b69ad6444ddd31ab5b135a7f95c27a18fd2cd | diff --git a/synapse/models/inet.py b/synapse/models/inet.py
index <HASH>..<HASH> 100644
--- a/synapse/models/inet.py
+++ b/synapse/models/inet.py
@@ -952,13 +952,20 @@ class InetMod(CoreModule):
'req': 1}),
('acct:site', {'ptype': 'inet:fqdn', 'doc': 'Site the user a... | Update docstrings based on feedback. | vertexproject_synapse | train |
6fceccfdf954bc0a838effdb6418fd076eaa2919 | diff --git a/src/Renderer/PlainTextRenderer.php b/src/Renderer/PlainTextRenderer.php
index <HASH>..<HASH> 100644
--- a/src/Renderer/PlainTextRenderer.php
+++ b/src/Renderer/PlainTextRenderer.php
@@ -24,9 +24,9 @@ final class PlainTextRenderer implements RendererInterface
private const LOWER_HALF_BLOCK = "\xe2\x96\... | Use no-break space for empty blocks in plain text QR code | Bacon_BaconQrCode | train |
d05bb2d37c8f6de9c551f3bbdc6765c6bd052869 | diff --git a/indra/tests/test_db_rest.py b/indra/tests/test_db_rest.py
index <HASH>..<HASH> 100644
--- a/indra/tests/test_db_rest.py
+++ b/indra/tests/test_db_rest.py
@@ -138,10 +138,12 @@ def test_famplex_namespace():
stmts = dbr.get_statements('PDGF@FPLX', 'FOS', stmt_type='IncreaseAmount',
... | Add more clarity to famplex ns test. | sorgerlab_indra | train |
2f7232f1ce6ea87ddbf6a9f1bff3f969ce435440 | diff --git a/tests/integration/nupic/opf/expgenerator_test.py b/tests/integration/nupic/opf/expgenerator_test.py
index <HASH>..<HASH> 100755
--- a/tests/integration/nupic/opf/expgenerator_test.py
+++ b/tests/integration/nupic/opf/expgenerator_test.py
@@ -49,8 +49,7 @@ from nupic.frameworks.opf.opfutils import (Inferenc... | Use resource handler deeper into expGen tests | numenta_nupic | train |
8de6f50523d74ff08d81a0764d19259393c705ae | diff --git a/bonobo/examples/datasets/fablabs.py b/bonobo/examples/datasets/fablabs.py
index <HASH>..<HASH> 100644
--- a/bonobo/examples/datasets/fablabs.py
+++ b/bonobo/examples/datasets/fablabs.py
@@ -73,15 +73,15 @@ def display(row):
print(
' - {}address{}: {address}'.
- format(Fore.BLUE, Sty... | [examples] Fix examples, fix termination bug with unrecoverable errors. | python-bonobo_bonobo | train |
99a5c2ef9ee09474c4447e008982f2de1b49ff0f | diff --git a/airflow/api/common/experimental/delete_dag.py b/airflow/api/common/experimental/delete_dag.py
index <HASH>..<HASH> 100644
--- a/airflow/api/common/experimental/delete_dag.py
+++ b/airflow/api/common/experimental/delete_dag.py
@@ -17,14 +17,13 @@
# specific language governing permissions and limitations
#... | [AIRFLOW-<I>] Allow Deleting Renamed DAGs (#<I>) | apache_airflow | train |
49188caa3f2d2c88b0324e3e8eefb02102e7b853 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -26,6 +26,8 @@ import setuptools
import sys
from setuptools import setup, find_packages, Extension
+from setuptools.command.test import test as BaseTestCommand
+
REPO_DIR = os.path.dirname(os.path.realpath(__file__))
... | Added python setup.py test functionality | numenta_nupic | train |
1df336628afbbc9fef0eed94e01ebeeaf782ce65 | diff --git a/django_extensions/db/fields/json.py b/django_extensions/db/fields/json.py
index <HASH>..<HASH> 100644
--- a/django_extensions/db/fields/json.py
+++ b/django_extensions/db/fields/json.py
@@ -69,7 +69,7 @@ class JSONField(models.TextField):
if not default:
kwargs['default'] = '{}'
... | Fixed typo in JSONField
Fixes #<I>. Previous fix introduced a typo that caused a NameError when using a dict or list in the 'default' kwarg for JSONField. | django-extensions_django-extensions | train |
d5e30999c782b12134eed98abfcc5f35967bc680 | diff --git a/salt/modules/state.py b/salt/modules/state.py
index <HASH>..<HASH> 100644
--- a/salt/modules/state.py
+++ b/salt/modules/state.py
@@ -1089,7 +1089,6 @@ def sls(mods, test=None, exclude=None, queue=False, **kwargs):
mods = mods.split(',')
st_.push_active()
- ret = {}
try:
hi... | Remove unused variable (no exception, within the try/finally block) | saltstack_salt | train |
9b79509ca06c2d7305341a880749dac2b34e3717 | diff --git a/core/src/test/java/io/tracee/contextlogger/outputgenerator/writer/json/styles/JsonOutputStyleTest.java b/core/src/test/java/io/tracee/contextlogger/outputgenerator/writer/json/styles/JsonOutputStyleTest.java
index <HASH>..<HASH> 100644
--- a/core/src/test/java/io/tracee/contextlogger/outputgenerator/writer... | [#<I>] increased test coverage | tracee_contextlogger | train |
12fd3a625a044a454cca3dbb2187e78efe1b4596 | diff --git a/references/classification/train.py b/references/classification/train.py
index <HASH>..<HASH> 100644
--- a/references/classification/train.py
+++ b/references/classification/train.py
@@ -17,7 +17,8 @@ except ImportError:
amp = None
-def train_one_epoch(model, criterion, optimizer, data_loader, devi... | Added Exponential Moving Average support to classification reference script (#<I>)
* Added Exponential Moving Average support to classification reference script
* Addressed review comments
* Updated model argument | pytorch_vision | train |
73059566ab91570c966e6e86338c666bc7f528ed | diff --git a/pyrax/cloudblockstorage.py b/pyrax/cloudblockstorage.py
index <HASH>..<HASH> 100644
--- a/pyrax/cloudblockstorage.py
+++ b/pyrax/cloudblockstorage.py
@@ -29,8 +29,6 @@ from pyrax.resource import BaseResource
import pyrax.utils as utils
-MIN_SIZE = 100
-MAX_SIZE = 1024
RETRY_INTERVAL = 5
@@ -283,1... | Don't hardcode min and max CBS size, just rely on the API to validate. Fixes #<I> | pycontribs_pyrax | train |
c62fae2de085d448f97af26d680cf8b539eb5c27 | diff --git a/lib/adapter.js b/lib/adapter.js
index <HASH>..<HASH> 100644
--- a/lib/adapter.js
+++ b/lib/adapter.js
@@ -6,9 +6,17 @@ var formatFailedAssertion = function(assertion) {
};
var createStartFn = function(tc, passedInRunner) {
+ var nodeunit = window.nodeunit,
+ deferredModules;
+
+ // Intercept n... | Capture calls to nodeunit.run before karma starts | karma-runner_karma-nodeunit | train |
e362823b136feb192828bfff9c82a094052c5dbf | diff --git a/holoviews/plotting/mpl/__init__.py b/holoviews/plotting/mpl/__init__.py
index <HASH>..<HASH> 100644
--- a/holoviews/plotting/mpl/__init__.py
+++ b/holoviews/plotting/mpl/__init__.py
@@ -179,6 +179,8 @@ options.Scatter3D = Options('style', facecolors=Cycle(), marker='o')
options.Scatter3D = Options('plot',... | Fixes for styling of BoxPlots | pyviz_holoviews | train |
1132117846e783c329ff282f48d858b6c63d76f8 | diff --git a/js/validator.js b/js/validator.js
index <HASH>..<HASH> 100644
--- a/js/validator.js
+++ b/js/validator.js
@@ -79,6 +79,8 @@
var prevErrors = $el.data('bs.validator.errors')
var errors
+ if ($el.is('[type="radio"]')) $el = this.$element.find('input[name="' + $el.attr('name') + '"]')
+
th... | Fixes #<I>: radio buttons were keeping the form disabled because they weren't being handled as a group | 1000hz_bootstrap-validator | train |
c0ea7891cd0ad5d011f7ae073335cec8e8579b4a | diff --git a/entry.go b/entry.go
index <HASH>..<HASH> 100644
--- a/entry.go
+++ b/entry.go
@@ -188,6 +188,7 @@ func (entry *Entry) Fatalf(format string, args ...interface{}) {
if entry.Logger.Level >= FatalLevel {
entry.Fatal(fmt.Sprintf(format, args...))
}
+ os.Exit(1)
}
func (entry *Entry) Panicf(format st... | Fix Fatalf() and Fatalln() to exit irrespective of log level | sirupsen_logrus | train |
c943ceb6c0c0c70ede78382563bac8cb69a53444 | diff --git a/lib/fog/aws/requests/elasticache/authorize_cache_security_group_ingress.rb b/lib/fog/aws/requests/elasticache/authorize_cache_security_group_ingress.rb
index <HASH>..<HASH> 100644
--- a/lib/fog/aws/requests/elasticache/authorize_cache_security_group_ingress.rb
+++ b/lib/fog/aws/requests/elasticache/authori... | Another fix from @jbence comments to simplify Excon response in authorize_cache_security_group_ingress | fog_fog | train |
b365152fb931d50b754a4927d39f7ae9cb5c6dc4 | diff --git a/openquake/calculators/hazard/disagg/core.py b/openquake/calculators/hazard/disagg/core.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/hazard/disagg/core.py
+++ b/openquake/calculators/hazard/disagg/core.py
@@ -156,9 +156,6 @@ def compute_disagg(job_id, sites, lt_rlz_id):
for poe ... | calcs/hazard/disagg/core: removed some TODOs
Former-commit-id: cc<I>a<I>e2c<I>d<I>e<I>a<I>c<I> | gem_oq-engine | train |
bfc51b959d546f5fa8c6741b8283b9cc88942893 | diff --git a/sos/plugins/s390.py b/sos/plugins/s390.py
index <HASH>..<HASH> 100644
--- a/sos/plugins/s390.py
+++ b/sos/plugins/s390.py
@@ -55,7 +55,6 @@ class S390(Plugin, RedHatPlugin):
"lscss",
"lsdasd",
"lstape",
- "find /sys -type f",
"find /proc/s390db... | [s<I>] remove "find /sys" from plugin | sosreport_sos | train |
7dd90d22ae72ff227a5ba8343a5aa12b98613038 | diff --git a/src/main/java/com/j256/ormlite/android/AndroidDatabaseConnection.java b/src/main/java/com/j256/ormlite/android/AndroidDatabaseConnection.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/j256/ormlite/android/AndroidDatabaseConnection.java
+++ b/src/main/java/com/j256/ormlite/android/AndroidDatabaseC... | Fixing typo in AndroidDatabaseConnection
successfuly -> successfully
unsuccessfuly -> unsuccessfully
commiting -> committing | j256_ormlite-android | train |
7d1d48329e511d0f3a2b96e7dfba6368db5093ab | diff --git a/pysolr.py b/pysolr.py
index <HASH>..<HASH> 100644
--- a/pysolr.py
+++ b/pysolr.py
@@ -90,6 +90,11 @@ __all__ = ['Solr']
class SolrError(Exception):
pass
+class Results(object):
+ def __init__(self, docs, hits):
+ self.docs = docs
+ self.hits = hits
+
class Solr(object):
def _... | Broke results out into a separate object with docs and hits attributes. | django-haystack_pysolr | train |
4a5eba2971e7bea68b3844f2837a11228384f498 | diff --git a/generator/lib/behavior/sluggable/SluggableBehavior.php b/generator/lib/behavior/sluggable/SluggableBehavior.php
index <HASH>..<HASH> 100644
--- a/generator/lib/behavior/sluggable/SluggableBehavior.php
+++ b/generator/lib/behavior/sluggable/SluggableBehavior.php
@@ -91,8 +91,12 @@ if (\$this->isColumnModifi... | Fixed Sluggable behavior combining with symfony_i<I>n | propelorm_Propel | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.